Part Number Hot Search : 
RCW0603 3N100 01300 RF923 GNR07DK 9L71I HMC48 LTC1643A
Product Description
Full Text Search
 

To Download MSC2121A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 OKI Semiconductor MSC2121A
14.4 kbps Full Duplex Modem Chip Set With Built-in Protocols
FEDL2121A-03
Issue Date: Jul. 16, 2002
GENERAL DESCRIPTION
The MSC2121A is a modem chip-set that provides full duplex data transmission capability of up to 14400 bits/s conforming to ITU-T Recommendation (V.32 bis, V.22 bis, V.22, and V.21) and Bell Standard (212A and 103J), and also provides facsimile transmission capability conforming to ITU-T Recommendation (V.17, V.33, V.29, and V.27 ter). The MSC2121A supports the function as a facsimile activated by FAX Class 1 Command in EIA Standard, as well as the function to set a modem and to control calls originating and terminating with AT Commands and the function as a data modem including error correction and data compression. So, the use of this chip-set enables easy implementation of terminals that have those functions, which are being widely employed in personal computer communication, as a full-duplex modem of 14400 bits/s and as a facsimile reciever and transmitter. In the MSC2121A, no external program memory will be required because the control program codes are stored in the program memories that a generalpurpose MCV has. General-purpose SRAMs (which are essential) and EEPROMs (which are removable) should be used for external memories. This chip-set comprises the following two LSIs: MSM66507 General-purpose MCU MSM7564-01 Single-chip modem The above ICs are available in a FLAT or PLCC package. For details, please refer to the individual semiconductor specifications of each IC.
FEATURES
* Communication Modes ITU-T Recommendation ITU-T Recommendation ITU-T Recommendation ITU-T Recommendation BELL Standard BELL Standard ITU-T Recommendation ITU-T Recommendation ITU-T Recommendation ITU-T Recommendation V.32bis 14,400/12,000/9,600/ 7,200/4,800 bps V.22bis 2,400 bps V.22 1,200 bps V.21 300 bps 212A 1,200 bps 103J 300 bps V.17 14,400/12,000/9,600 /7,200 bps V.29 9,600/7,200 bps V.27ter 4,800/2,400 bps V.21ch.2 300 bps
Full duplex, SYNC/ASYNC Full duplex, SYNC/ASYNC Full duplex, SYNC/ASYNC Full duplex, ASYNC Full duplex, SYNC/ASYNC Full duplex, ASYNC Half duplex, SYNC Half duplex, SYNC Half duplex, SYNC Half duplex, SYNC
* Command Set Hayes AT commands. EIA/TIA-578 (Class 1) fax commands * Dial Function DTMF send function (tone dialing) DP send function (pulse dialing): 20 pps, 10 pps (Make/break ratio: 33%, 39%)
Note:
The following notice shall be printed somewhere in your application such as on its container box; "This Product is licensed under U.S. Patent 4,558,302 and foreign counterparts."
1
FEDL2121A-02 Semiconductor * Error Correction Function ITU-T V.42 (LAP-M) MNP Class 3, 4 * Data Compression Function ITU-T V.42bis MNP Class 5 * Protocol To Support Mobile Telephones: MNP Class 10 * Various Test Functions Various tests including local AC loopback, local DC loopback, remote DC loopback and selftest function * Transmission Attenuator Function: 0 to 7 dB, (in a 1 dB step) * +5 V Single Power Supply * Power Consumption: 900 mW (typical) MSC2121A
2
FEDL2121A-02 Semiconductor MSC2121A
BLOCK DIAGRAM
The MSC2121A block diagram is shown below. The MSM66507 performs command processing and control of the various interfaces. The interfaces controlled are the V.24 interface, the LED interface, the SW interface, the modem control interface and the line interface. The MSM7564-01 is a single-chip modem LSI which executes all of the modem standards of the MSC2121A. It performs modulation/demodulation, DTMF signal transmission and call progress tone detection. Auxiliary memory comprises SRAM (32 Kbyte) and EEPROM (2 Kbit). These are respectively used as the internal memory of transmission/reception buffers and as nonvolatile memory for storing internal settings.
V.24 interface LED interface SW interface
MSM 66507 MCU SRAM (32 Kbyte)
MSM 7564-01 MODEM
Line interface EEPROM (2 Kbit)
MSC2121A Block Diagram
3
FEDL2121A-02 Semiconductor List of Interface Signals * V.24 Interface
Signal Name Transmission data Reception data Request-To-Send Clear-To-Send Data Terminal Ready Data Set Ready Carrier Detect Call Indicator Transmission Timing (DTE source) Transmission Timing (DCE source) Reception Timing Symbol SD RD RTS CTS DTR DSR DCD CI ST1 ST2 RT I/O Input Output Input Output Input Output Output Output Input Output Output Explanation Input signal of the transmit data. Mark signal = 1, space signal = 0. Output signal of the receive data. Mark signal = 1, space signal = 0. 1 = Stop receive data. 0 = Send transmit data. 1 = Data transmit disabled. 0 = Data transmit enabled. 1 = Transmit/receive to/from the modem disabled. 0 = Transmit/receive to/from the modem enabled. 1 = Modem is in transmit/receive disabled state. 0 = Modem is in transmit/receive enabled state. 1 = Carrier not detected. 0 = Carrier detected. 1 = No incoming call signal. 0 = Incoming call signal. Transmission timing clock from the DTE. Used in the synchronization mode. Transmission timing clock from the DCE. Used in the synchronization mode. Recieve timing clock. Used in the synchronization mode.
MSC2121A
* Signals for Line Control
Signal Name Dial relay Symbol RLY1 I/O Output Explanation Dial relay control signal. 1 = Relay ON. (Make) 0 = Relay OFF. (Break) Line connection relay control signal. Hook relay RLY2 Output 1 = Relay ON. (Make) 0 = Relay OFF. (Break) For input from the NCU unit incoming call signal Incoming call signal input RII Input detection circuit. 1 = No incoming call signal. 0 = Incoming call signal. Speaker control signal. Speaker SPK Output 1 = Speaker ON. 0 = Speaker OFF.
4
FEDL2121A-02 Semiconductor * Display Signals
Signal Name Auto answer Symbol AA I/O Output Function Indicates that the modem is in an auto-answer state. 1 = Auto answer state. 0 = Not auto answer state. Indicates connection to the remote modem made in Error correction mode EC Output error correction mode. 1 = Connected in error correction mode. 0 = Connected in normal mode. Indicates communication at 9,600 bps or higher. High speed HS Output 1 = High speed transmission at 9,600 bps or higher. 0 = Low speed transmission at 7,200 bps or lower. Lights when power is turned ON. During the Modem ready MR Output loopback test, cycles ON-OFF in 1 second cycles. 1 = Lamp ON 0 = Lamp OFF
MSC2121A
5
FEDL2121A-02 Semiconductor * Signal Input for Switch Settings
Port Symbol Function Determines the setting of the carrier transmission levels. When P2.7=1, the carrier P2.7 SW1 transmission levels are set by the commands (registers S34 and S35). Refer to registers S34 and S35 requirements for more details. When P2.7=0, the carrier transmission levels are set by the ports (SW2 to SW4). When P2.7=0, the carrier transmission levels are set. SW4 0 0 P3.0 P3.3 P4.1 SW2 SW3 SW4 0 0 1 1 1 1 P4.2 SW5 SW3 0 0 1 1 0 0 1 1 SW2 0 1 0 1 0 1 0 1 Carrier transmission level. (Note1). - 10 dBm - 11 dBm - 12 dBm - 13 dBm - 14 dBm - 15 dBm - 16 dBm - 17 dBm
MSC2121A
Determines whether the JATE retransmission security function is provided or not. When P4.2=1, the JATE retransmission security function is not provided. When P4.2=0, the JATE retransmission security function is provided.
P4.3
SW6
Determines the command set types. When P4.3=1, typeA command set is determined. When P4.3=0, typeB command set is determined.
P7.2 P7.4 P7.5
SW7 SW8 SW9
P7.2 should be always set to 0, which is reserved for future use. P7.4 should be always set to 0, which is reserved for future use. Selects the nonvolatile memory types to be used. When P7.5=1, X24C02 ( ) or an equivalent is selected. When P7.5=0, AT59C22 (produced by ATMEL) or an equivalent is selected.
Note1:
The carrier transmission levels indicate the values at the AOUTP Pin and AOUTN Pin of the MSM7564-01.
6
FEDL2121A-02 Semiconductor * List of MCU (MSM66507) Port Assignments
Port Number P0.0 to P0.7 Port Number P1.0 to P1.7 Port Number P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 Port Number P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 Port Number P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6 P4.7 I/O Output Output Output Input Output Output Output Input I/O Input Input Output Input Input Input Input Input I/O Output Input Input Input Output Output Output Output H H H H Active Level L L L Active Level Active Level H H L L L L L Output I/O Input/ output Active Level Signal Name AD0 to AD7 Active Level Signal Name A8 to A15 Signal Name RLY1 RLY2 CI DTR DSR DCD CTS SW1 Signal Name SW2 RII SPK SW3 SD RTS RT ST2 Signal Name CE1 SW4 SW5 SW6 MR HS EC AA For SW4 signal input. For SW5 signal input. For SW6 signal input. For the modem ready indicator signal. For the high-speed indicator signal. For the error correction mode indicator signal. For the auto answer indicator signal. For SW2 signal input. For the incoming call signal input from the NCU circuit (Note1). For speaker control signal. For SW3 signal input. For transmission data (connect to P6.6) Request to send. Reception timing clock input (from the MSM7564-01). Transmission timing clock input (from the MSM7564-01). Function MSM7564-01 select signal. Function For dial relay control signal. For line connection relay control signal. Calling indicator Data Terminal Ready Data Set Ready Data Carrier Detect signal. Clear to Send. For SW1 signal input. Function Address bus (high order) Function Address bus (low order) and data bus. Function
MSC2121A
I/O
7
FEDL2121A-02 Semiconductor MSC2121A
Port Number P5.0 P5.1 P5.2 Port Number P6.0 P6.1 P6.2 P6.3 P6.4 P6.5 P6.6 P6.7 Port Number P7.0 P7.1 P7.2 P7.3 P7.4 P7.5 P7.6 P7.7
I/O Output Output Output I/O Input Input Input Output Input Input Input Output I/O Output Output Input Output Input Input Input Input
Active Level
Signal Name CS CLK DI
Function For non-volatile memory control signal (Note2) For non-volatile memory control signal (Note2) For non-volatile memory control signal (Note2) Function Reception modulation timing signal from the MSM7564-01. STSCHG signal (from the MSM7564-01). Reception data from the MSM7564-01. Transmission data to the MSM7564-01. Reception timing clock input (from the MSM7564-01). Transmission timing clock input (from the MSM7564-01). For transmission data. (connect to P34) For reception data. Function External memory write signal. External memory read signal. For SW7 signal input. Clock signal to the MSM7564-01. (3.888MHz) For SW8 signal input. For SW9 signal input. For non-volatile memory control signal (Note2) For non-volatile memory control signal (Note2)
Active Level L
Signal Name RBTM STSCHG TxD RxD RT ST2 SD RD
Active Level L L
Signal Name WR RD SW7 MCK SW8 SW9 R/B DO
* Other MCU Signals
Pin Name EA NMI OE PSEN ALE RES I/O Input Input Input Output Output Input Connect to +5 V. Connect to digital ground. Connect to digital ground. Not used (open pin). Connect to the MSM7564-01 ALE pin. Connect to system reset signal. Pin Processing
8
FEDL2121A-02 Semiconductor Note1: MSC2121A
If a signal is input to RII under the conditions below, this chip set recognizes it as one incoming call signal.
RII 150 msec 400 msec
CI
One incoming call signal
Note2:
Each pin assignment to nonvolatile memory type to be used is indicated below.
SW9 (7.5)=0 AT59C22 equivalent DI DO CS R/B CLK No non volatile memory connect to P7.7 connect to P5.2 open connect to P5.1 connect to P7.6 SW9 (7.5)=1 X24C02 equivalent connect to ground open CSL open SDA
Port Number P5.2 P7.7 P5.0 P7.6 P5.1
*When SW9=0, "No nonvolatile memory'' is automatically identified during initial processing *If no nonvolatile memory is used, (1) The chip-set is factory shipped after hardware or software is reset. (2) The following commands are invalidated: &w, &z, dial storing s (store dial)
9
FEDL2121A-02 Semiconductor MSC2121A
COMMAND SPECIFICATIONS
* AT Commands AT commands are explained in Appendix A. Industry standard AT commands are supported. * EIA/TIA-578 (Class 1) Fax Commands EIA/TIA-578 fax commands are explained in Appendix B. In order to perform facsimile communication, fax commands stipulated by EIA/TIA-578 (Class 1) are supported. * S-Registers S-registers are explained in Appendix C. * Command Mode and Data Mode Supplementary explanations of the command mode and data mode are recorded in Appendix D. * Loopback Tests and Self Diagnostic Supplementary explanations of the loopback tests and self diagnostic are recorded in Appendix E.
10
FEDL2121A-02 Semiconductor MSC2121A
Appendix A AT Commands OVERVIEW
AT commands begin with or . The up to the carriage return is interpreted as commands, which are executed sequentially. The result code is returned to the DTE.
AT Command character string CR LF
However, the A, D, Dc, On, Zn, Ax, &Tn and &Zn commands must be placed last in the command string. Even if a command is entered afterwards, any characters up to the return code are ignored. The maximum length of the command character string is 40 characters (spaces <20h> are ignored). Only the backspace function (code can be changed) is valid for deleting an input character. is the carriage return code (code can be changed). is the line feed code (can be omitted; code can be changed). Both upper and lower case alpha characters used in commands are recognized, but At or aT are not recognized. When inputting commands, communication with the DTE is handled in asynchronous mode. When AT (at) is input, the terminal speed and character format are automatically determined.
TERMINAL SPEED AND CHARACTER FORMAT
When the DCE is in the asynchronous command mode, the communication mode with the DTE is as shown below: * Terminal speed: 300 bps, 1,200 bps, 2,400 bps, 4,800 bps, 7,200 bps, 9,600 bps, 12,000 bps, 14,400 bps, 19,200 bps, 28,800 bps, 38,400 bps, 57,600 bps * Character format
Start bit 1 1 1 1 Data bit 7 7 7 8 Parity bit Odd/even None Mark/space None Stop bit 1 2 1 1 Character length 10 10 10 10
A-1
FEDL2121A-02 Semiconductor MSC2121A
LIST OF AT COMMANDS
Command A/ A Bn Function Re-execute the immediately preceding command. Connect the modem to the line in the answer mode. Selection of ITU-T standard and BELL standard: n = 0: Modem function operates in accordance with the ITU-T standard. n = 1: Modem function operates in accordance with the Bell standard. Force operation into originate mode. 0 Initial Value Remarks Same
D
Note:
If n is omitted, it is interpreted as n = 0.
A-2
FEDL2121A-02 Semiconductor MSC2121A
Command Dc
Function The modem dials and operates in the originate mode. Dial Characters Pulse: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, (A, B, C, D, *, # are ignored) Tone: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, *, # Control Characters @ Detect silence If during the time set in the S7 register, a continuous 5-second interval of silence is detected after the ring tone, and dial string processing is not detected after that (@), a "BUSY" is returned if the call progress tone is a busy tone, and a "NO ANSWER". ! , ; L Flash The modem goes off hook for 0.5 seconds. Pause Dialing pauses for the time set in the S8 register. After dialing is completed, return to command mode without disconnecting the line Redial the last dialed telephone number If there is an L in the dial string, the last dialed dial string (telephone number) is substituted for the L and dialed. P R Temporarily sets the subsequent dial string to the pulse dial format Reverse After dialing is completed, the modem starts communication in the answer mode. An interval from after dialing until sending the answer tone can be set by inserting a pause (,) before the reverse (R). If there is an R in the dial string, subsequent chara Sn Dials the telephone number, specified by registration number n, which was stored in nonvolatile memory by the &Zn command. The value for n is specified by 0 to 3 (if there is no specification, it is interpreted as n = 0). If there is an Sn in the dial string and the character after S is 0 to 3, the dial string (telephone number) of the specified registration number is substituted for Sn and dialed. If the character after S is outside of the characters 0 to 3, or if there is T Temporarily sets the subsequent dial string to the tone dial format.
Initial Value
Remarks c is the dial string. The dial string comprises a combination of dial characters and control characters. The maximum number of characters is 40 (D + 39). However, if L or Sn are used, a dial string of greater than 40 characters is possible. L and Sn can store up to 63 and 33 characters, respectively.
L is ignored if the telephone numbers are not in memory, such as after a reset or power ON.
Sn is ignored if the telephone number is not registered in the registration number of the nonvolatile memory specified by n. If there is an L or Sn in the dial string, the dial string stored in memory is displayed when that L or Sn is executed (however, this is dependent on the Qn command).
Note:
If n is omitted, it is interpreted as n = 0. A-3
FEDL2121A-02 Semiconductor MSC2121A
Command Dc W Detect a dial tone
Function
Initial Value
Remarks
Regardless of the ATXn command entered, if a dial tone is detected during the time set in the S7 register, the next dial string is processed. If a dial tone is not detected, a "NO DIALTONE" is returned. J When MNP Class 10 is enabled, the starting communication carrier speed for the handshaking is performed at 1,200 bps (V.22). [Equivalent to AT*H1 command.] K When MNP Class 10 is enabled, the transmission level during communication is changed temporarily according to the line conditions. [Equivalent to the AT)M1 command] (Characters other than those above are completely ignored.) J and K are ignored if MNP Class 10 is disabled (AT-N1).
Note:
If n is omitted, it is interpreted as n = 0.
A-4
FEDL2121A-02 Semiconductor MSC2121A
Command En
Function Selects whether to echo when in the command mode. n = 0 The command input characters are not echoed. n = 1 The command input characters are echoed.
Initial Value
Remarks
1
Hn
Controls the connection to the line. n = 0 Set the line OFF (on hook) n = 1 Set the line ON (off hook)
In
dentification of the DCE. n = 0 Display the product code (14400) n = 1 Display the ROM checksum. n = 2 Perform a ROM check sum and display OK or ERROR. n = 19 Display the ROM version. MSC2121A Vx.xx MMM.YYYY Copyright (C) 1995 Oki Electric Industry Co., Ltd.
Mn
Controls operation of the monitor speaker. n = 0 The speaker is always OFF n = 1 The speaker is ON from the connection to the line (off hook) until handshaking is completed. n = 2 The speaker is always ON. n = 3 The speaker is ON only during handshaking. 1
Nn
Selects the automatic fallback function for the modem-modem communication carrier speed. The maximum communication speed is determined by the S37 register. n = 0 Disables the automatic fallback function n = 1 Enables the automatic fallback function If the automatic fallback function is enabled, the modem automatically falls back to the communication carrier speed of the remote modem when handshaking and retraining. However, if connected in the direct mode, automatic fallback is not performed when retraining regardless of the setting. 1
Note:
If n is omitted, it is interpreted as n = 0.
A-5
FEDL2121A-02 Semiconductor MSC2121A
Command On
Function Return from the on-line command mode to the data mode. n = 0 Switch from the on-line command mode to the data mode. n = 1 When switching from the on-line command mode to the data mode, execute the retraining sequence. If this command is issued from the command state after going off hook (not yet connected to the remote modem), the DCE tests the connection in the mode specified when on hook (D, A, DxxxR commands).
Initial Value
Remarks
P Qn
Sets dialing to the pulse dial method. Selects whether to send the result code. n = 0 Send a result code. 0 n = 1 Do not send a result code. Sets the pointer value for the S-register to the value r. Returns the contents of the S-register indicated by r. Sets the contents of the S-register indicated by r to the value d. Sets the contents of the S-register indicated by the current pointer value to the value d. Returns the contents of the S-register indicated by the current pointer value. Sets the dialing mode to tone dialing. Type of result code. n = 0 Short form result code (numeric). n = 1 Long form result code (character string/word). 1
Factory setting is pulse dial.
Sr Sr? Sr=d =d ? T Vn
Refer to Appendix C.
Factory setting is pulse dial. Refer to the section on result codes.
Note:
If n is omitted, it is interpreted as n = 0.
A-6
FEDL2121A-02 Semiconductor MSC2121A
Command Wn
Function Selects the connect result code. n=0 DTE-DCE terminal speed CONNECT xxxx However, when in the direct mode or terminal speed variable mode (AT \ J1), the communication carrier speed is displayed after the CONNECT display. n=1 Carrier speed Protocol Data compression DTE-DCE terminal speed n=2 n=3 Communication carrier speed CARRIER xxxx PROTOCOL : xxxx COMPRESSION : xxxx CONNECT xxxx CARRIER xxxx
Initial Value
Remarks
DTE-DCE terminal speed CONNECT xxxx/REL Displays the DTE-DCE speed and error correction connection. In the normal mode and direct mode, only CONNECT xxxx is displayed. In the terminal speed variable mode (AT \ J1), the communication carrier speed
0
is displayed after CONNECT. Communication carrier speed: 300, 1200, 2400, 4800, 7200, 9600, 12000, 14400 Protocol LAPM, ALT, NONE Data compression V. 42bis, class5, NONE DTE-DCE terminal speed: 300, 1200, 2400, 4800, 7200 9600, 12000, 14400, 19200 28800, 38400, 57600
Note:
If n is omitted, it is interpreted as n = 0.
A-7
FEDL2121A-02 Semiconductor MSC2121A
Command Xn Selects extended result codes.
Function
Initial Value
Remarks
n = 0 Return basic result codes (result code numbers: 0 to 4, 8). The dial tone and busy tone are not detected and the only connect result code is CONNECT. n = 1 Return basic + extended result codes (result code numbers: 0 to n = 2 5, 8 to 80). The dial tone and busy tone are not detected. n = 3 Return basic + extended result codes (result code numbers: 0 to n = 4 6, 8 to 80). The busy tone is not detected. Return basic + extended result codes (result code numbers: 0 to 5, 7 to 80). The dial tone is not detected. Return basic + extended result codes (result code numbers: all numbers). A dial tone is detected by a continuous signal longer than 100 ms within 5 seconds after going off hook. The second dial tone is detected by a continuous signal longer than 100 ms starting from after dialing is completed (starting point of W) and during the time set n the S7 register. After the detection of a busy tone, if the tone signal turns ON and OFF every 500 ms 150 ms continuously for 3 seconds, it is judged to be BUSY. 4
Note:
If n is omitted, it is interpreted as n = 0.
A-8
FEDL2121A-02 Semiconductor MSC2121A
Command Yn Selects the call abort function.
Function
Initial Value
Remarks
n = 0 Disables the call abort function. n = 1 Enables the call abort function. Call Abort Function If an ON AE OFF change is detected in the DTR (ER) signal when an ATH (ATH0) command is received from the DTE, or when an AT&D2 command is set, the following operation is performed: If the modem is in the direct mode with the communication carrier speed at 2,400 bps or lower, a 4-second long space is transmitted to the remote modem, and the line is dropped (invalid when in a mode other than the direct mode). If the communication carrier speed is 4,800 bps or greater, a call abort signal is sent to the remote modem and the line is dropped. If the modem is in the direct mode and the communication carrier speed is 2,400 bps or below, the line is dropped if a long space of 1.6 seconds or greater is received from the remote modem (invalid when in a mode other than the direct mode). If the communication carrier speed is 4,800 bps or greater, the line is dropped, regardless of this setting, if a call abort signal is received Zn from the remote modem. Initializes the DCE the same as when turning on the power supply. n = 0 Initializes the DCE with the contents of profile number 0 in n = 1 nonvolatile memory. Initializes the DCE with the contents of profile number 1 in nonvolatile memory. &Cn Controls the DCD (CD) signal n = 0 The DCD (CD) signal is always ON. n = 1 The DCD (CD) signal is ON or OFF according to whether a carrier is detected. 0 0
Note:
If n is omitted, it is interpreted as n = 0.
A-9
FEDL2121A-02 Semiconductor MSC2121A
Command &Dn
Function Controls the DCE by the state of the DTR (ER) signal. n = 0 Ignore the DTR (ER) signal (DTR (ER) signal is considered to be always ON). n = 1 When in the data mode, the modem switches to the on-line command mode when the DTR (ER) signal changes from ON to OFF. n = 2 When in the data mode, the modem disconnects the line and switches to the command mode when the DTR (ER) signal changes from ON to OFF. Further, the modem does not auto answer when the DTR (ER) signal is OFF. n = 3 When in the data mode, the DCE is initialized (the same as when turning the power ON) when the DTR (ER) signal changes from ON to OFF.
Initial Value
Remarks
0
&F &Gn
Initializes the S-registers and commands to the factory set values. Controls the guard tone. n = 0 No guard tone. n = 1 There is a 550 Hz guard tone. n = 2 There is a 1,800 Hz guard tone. 0
&Ln
Type of line format used. n = 0 A general telephone switched line is used. n = 1 A dedicated line is used. The handshake uses only a retraining sequence, and the modem starts sending a carrier signal at the target speed one second after going off hook, regardless of whether the modem is in originate or answer mode. 0
&Mn
Sets the data communication mode. n = 0 Asynchronous communication mode. n = 1 Synchronous mode 1 n = 2 Synchronous mode 2 n = 3 Synchronous mode 3 0 This has a higher priority than the AT\Nn command.
&Pn
Selects the mode of the pulse dial. n = 0 10 pps (39%) USA specification n = 1 10 pps (33%) UK and Japan specifications n = 2 20 pps (33%) Japan specification Controls the CTS (CS) signal. n = 0 When in the data mode, data is output with the delay set in register S26 when an RTS is input. n = 1 The RTS signal is ignored. 0 Synchronous. 1
&Rn
&Sn
Controls the DSR signal. n = 0 The DSR (DR) signal is always ON. n = 1 The DSR (DR) signal is sent in accordance with the ITU-T recommendation for each modem function. 0
Note:
If n is omitted, it is interpreted as n = 0. A-10
FEDL2121A-02 Semiconductor MSC2121A
Command &Tn
Function Selects the loopback test mode. n=0 n=1 Terminates the loopback test mode. The DCE loops back the data from the DTE between the modulator unit and the demodulator unit and sends it to the DTE. (Local Analog Loopback test: LAL) n=3 The DCE loops back the data received from the remote modem and transmits the data to the remote modem. (Local Digital Loopback test: LDL) n=4 The DCE receives data from the remote modem. When a remote digital loopback (RDL) ID signal is received, a verification signal is sent to the remote modem. Afterwards, the data received from the remote modem is looped back by the digital unit and transmitted to the remote modem. When a terminate signal is received from the remote modem, the remote digital loopback test (RDL) is terminated. n =5 Even if the remote digital loopback test (RDL) ID signal is received from the remote modem, the DCE ignores it and does not transmit a verification signal to the remote modem. n =6 The DCE transmits the remote digital loopback test (RDL) ID signal to the remote modem. Upon reception of the verification signal from the remote modem, the DCE starts the test. If a verification test is not received from the remote modem, ERROR is displayed and the test is stopped. (Remote Digital Loopback test: RDL) n=7 The DCE transmits the remote digital loopback test (RDL) ID signal to the remote modem. Upon receiving a verification signal from the remote modem, the DCE transmits specific data in the DCE itself to the remote modem, and the data is looped back by the remote modem. The received specific data is verified, and the errors are counted. When the test is terminated, the error count is displayed. If the verification signal is not received from the remote modem, display ERROR and stop the test. (RDL with self) n=8 Specific data from the DCE itself is looped back between the modulator unit and demodulator unit. The specific data is verified and the errors are counted. When the test is terminated, the error count is displayed. (LAL with self)
Initial Value
Remarks Valid only in direct mode.
0, 4
Note:
If n is omitted, it is interpreted as n = 0.
A-11
FEDL2121A-02 Semiconductor MSC2121A
Command &Un
Function Controls the enabling of trellis coding for ITU-T V.32bis at a 9,600 bps communication carrier speed. n=0 Trellis coding enabled. n = 1 Trellis coding disabled. Displays the current state of the DCE settings. Displays the current command setting, the S-registers (user, profiles 0, 1) registered in nonvolatile memory, and the transmission level.
Initial Value
Remarks
0
&V
Refer to the section on display formats.
Note:
If n is omitted, it is interpreted as n = 0.
A-12
FEDL2121A-02 Semiconductor MSC2121A
Command &Wn
Function Writes the current contents of the specified S-register to nonvolatile memory. n = 0 n = 0 Writes to user profile number 0. n = 1 n = 1 Writes to user profile number 1.
Initial Value
Remarks Object S-register numbers: 0, 6 to 10, 12, 14, 18, 21 to 23, 25 to 27, 34 to 48, 40 to 46, 48
&Xn
Selects the communication clock used in the synchronous mode. n = 0 Use ST2 from the modem. n = 1 Use ST1 from the terminal. n = 2 Use the receive clock RT from the modem. 0 Synchronous
&Yn
Selects the user profile number in nonvolatile memory used for the default settings when turning the power ON. n = 0 When turning the power ON, initialize with the profile number 0. n = 1 When turning the power ON, initialize with the profile number 1. 0
&Zn = c
Writes the character string (c) after the equal sign, as a telephone number, to the nonvolatile memory registration number specified by n. n = 0 Write to nonvolatile memory number 0. n = 1 Write to nonvolatile memory number 1. n = 2 Write to nonvolatile memory number 2. n = 3 Write to nonvolatile memory number 3. The character string c is a maximum of 33 characters. If it is 34 characters or greater, the characters up to the 33rd character are written to nonvolatile memory, and the 34th and beyond are ignored. If c is omitted, the contents of the specified registration number in nonvolatile memory is cleared. (clear)
The telephone number c conforms to the Dc command.
An
Selects the maximum block size in MNP reliable mode. n = 0 The maximum block size is 64 bytes. n = 1 The maximum block size is 128 bytes. n = 2 The maximum block size is 192 bytes. n = 3 The maximum block size is 256 bytes. 3
Note:
If n is omitted, it is interpreted as n = 0.
A-13
FEDL2121A-02 Semiconductor MSC2121A
Command Bn
Function Sends a break signal to the remote modem. n=0 Transmits a 300 ms break signal (long space). n = 1 to 9 Transmits an n 100 ms break signal (long space). When in the data mode of the normal or reliable modes, this functions as a command which transmits a break to the remote modem. If in the data mode of the direct mode, an ERROR is returned. Note: The default value of this command is 0. Values set subsequently are stored in internal memory, but are not included in the S-registers and are not stored in nonvolatile memory. Therefore, the following explanations are for a break transmission by means of \Bn. However, even if a break signal is received directly from the DTE, the \Bn value at that time is used. Normal Mode A break (space) signal is sent to the line for an interval set by n on the transmit side. The receive side receives the break signal and the modem sends a break signal to the DTE for a fixed time of 300 ms. V.42/V.42bis Modes The break information is delivered in accordance with the break processing (\Kn) and break length (\Bn) on the transmit side. The break processing is executed on the receive side according to the frame received from the remote modem. The break signal to the DTE is sent in accordance with the break length information of the frame from the remote modem (100 to 900 ms). MNP4/MNP5 Modes When transmitting, only the break processing mode (\K) is delivered. When receiving, break processing is performed according to the information from the remote modem. The break signal to the DTE is fixed at 300 ms.
Initial Value
Remarks Valid only when in normal mode and reliable mode.
Note:
If n is omitted, it is interpreted as n = 0.
A-14
FEDL2121A-02 Semiconductor MSC2121A
Command Cn
Function Selects the automatic determination in auto reliable mode. n=0 n=1 n=2 The receive data is not buffered. If there is no reliable request even after 8 seconds have elapsed, the modem connects in normal mode. Two-hundred bytes or 8 seconds of receive data is buffered. If a reliable request is received during that time, the data in the buffer is discarded and the modem connects in reliable mode. If a reliable request is not received, the modem connects in normal mode and sends the data in the buffer to the DTE. The receive data is not buffered. If an auto reliable fallback character is received, or if there is no reliable request even after 8 seconds have elapsed, the modem connects in normal mode.
Initial Value
Remarks Valid only in the answer mode when the AT\N3 or AT\N7 command (auto reliable
0
mode) is set.
F
Displays all telephone numbers registered in nonvolatile memory and the last dialed telephone number.
Refer to the section on display formats. Valid only when in 0 normal mode.
Gn
Sets the flow control with the remote modem. n = 0 No flow control. n=1 Flow control based on XON/XOFF codes.
Note:
If n is omitted, it is interpreted as n = 0.
A-15
FEDL2121A-02 Semiconductor MSC2121A
Command Jn
Function Sets the DTE-DCE terminal speed. n = 0 The DTE-DCE terminal speed is fixed. When in the command n=1 mode, the speed is in accordance with the terminal speed. Follows the communication carrier speed at the time when the connection is completed. The DTE needs to reset the terminal speed according to the "CONNECT xxxx" speed displayed.
Initial Value
Remarks Valid only in the normal mode and reliable mode.
0
Kn
Sets the processing of the break signal. * If a break signal (long space) is received from the DTE: a: In the data mode state of the normal/reliable mode n=4 n=5 The modem switches to the on-line command state without transmitting a break signal to the remote modem. The modem transmits a break signal after transmitting he data remaining in the transmit buffer to the remote modem (nondestructive, nonexpedited). b: In the on-line command mode state of the normal/reliable mode (includes break processing based on the AT\Bn command from the DTE). n = 4, 5 The modem transmits the break information after transmitting the data remaining in the transmit buffer to the remote modem (nondestructive, nonexpedited). After processing the break signal, the modem remains in the on-line command mode state. c: Data mode state of direct mode. n=4 n=5 The modem immediately transmits a break signal to the remote modem and switches to the on-line command mode state. The modem immediately transmits a break signal to the remote modem and remains in the data mode. Break signals from the DTE are ignored in the on-line command state when in the direct mode. * If a break signal (long space) is received from the remote modem while in the data mode of the normal mode: n = 4, 5 The modem transmits a break signal (long space) after sending the data remaining in the receive buffer to the DTE (nondestructive, nonexpedited). 5
Note:
If n is omitted, it is interpreted as n = 0.
A-16
FEDL2121A-02 Semiconductor MSC2121A
Command Kn
Function Even if a break signal (long space) is received from the remote modem while in the on-line mode, it is ignored. * If a frame for a break signal is received from the remote modem while in the data mode of the reliable mode, processing is performed according to the commands in that frame. If a frame for a break signal is received from the remote modem while in the on-line command mode, it is processed when the modem returns to the data mode state. * If a break signal (long space) is received from the remote modem while in the data mode of the direct mode, the break signal (long space) is sent, as is, to the DTE. Even if a break signal (long space) is received from the remote modem while in the on-line command mode, it is ignored.
Initial Value
Remarks
5
Note:
If n is omitted, it is interpreted as n = 0.
A-17
FEDL2121A-02 Semiconductor MSC2121A
Command Nn
Function Sets the operation of the modem. n=0 n=1 Modem operates in normal mode (with buffering). V.42 and MNP are not used. Modem operates in direct mode (without buffering). V.42 and MNP are not used. The DTE needs to reset the terminal speed according to the speed displayed in "CONNECT xxxx." n=2 Modem operates in V.42/MNP reliable mode. The modem tries to connect using V.42 and MNP, in that order. If it cannot connect, it drops the line. n=3 Modem operates in V.42/MNP auto reliable mode. The modem tries to connect using V.42 and MNP, in that order. If it cannot connect, the modem connects in direct mode if the \J1 command is set. Otherwise, it connects in normal mode. n=4 n=5 n=6 n=7 The modem operates in V.42 reliable mode. If it cannot connect in V.42, it drops the line. The modem operates in V.42 reliable mode without using the detection phase. If it cannot connect in V.42, it drops the line. The modem operates in MNP reliable mode. If it cannot connect in MNP, it drops the line. The modem operates in MNP auto reliable mode. The modem tries to connect in MNP. If it cannot connect, it connects in direct mode if the \J1 command is set. Otherwise, it connects in normal mode. Selects the DTE-DCE flow control. n=0 n=1 n=2 n=3 No flow control. Bidirectional flow control based on XON/XOFF codes. Unidirectional flow control from the DCE side based on the CTS (CS) signal line. Bidirectional flow control based on the CTS (CS) signal line and RTS (RS) signal line.
Initial Value
Remarks
3
Qn
Invalid when in direct mode. 2
Sn
Displays the current DCE settings. n=0 n=1 Display first screen. Display second screen.
Refer to the section on display formats.
Tn
Sets the inactivity timer when in reliable mode. n = 1 to 90 (min); n = 0 indicates no timer function. If, for the above time setting, no transmit data is input from the local DTE and there is also no receive data from the remote modem, the line is dropped. 0
Note:
If n is omitted, it is interpreted as n = 0.
A-18
FEDL2121A-02 Semiconductor MSC2121A
Command Xn
Function Sets the transparency of the XON/XOFF codes from the DTE. n=0 n=1 The XON/XOFF codes from the DTE are not transmitted to the remote modem. The XON/XOFF codes from the DTE are transmitted to the
Initial Value
Remarks Valid when AT\Q1 is set in normal
0
mode.
%Ac %Cn
remote modem. Sets the MNP fallback character. c = 0 to 127 Set by a decimal ASCII code. Sets whether data is compressed. n = 0 Data is not compressed. n=1 Data is compressed by V.42bis or MNP Class 5. No auto retraining. Sets whether auto retraining is performed. n=0
0
Used when setting AT\C2 in MNP mode.
1
%En
1 Refer to the section on display formats.
%R
n = 1 Auto retraining. Displays the current contents of all S-registers.
Note:
If n is omitted, it is interpreted as n = 0.
A-19
FEDL2121A-02 Semiconductor MSC2121A
Command -Nn
Function Sets whether MNP Class 10 is enabled. n = 0 MNP Class 10 is enabled. The settings of the -Kn, *Hn, and ) n = 1 Mn commands become enabled. MNP Class 10 is disabled. The settings of the -Kn, *Hn, and ) Mn commands are ignored and treated as -K0, *H0 and )M0.
Initial Value
Remarks
1
-Kn
Sets whether extended MNP service is enabled. n = 0 Extended MNP service disabled. n = 1 Extended MNP service enabled. The originate-side modem monitors the MNP detection pattern (MDP) in the V.42 detection phase. The answer-side modem transmits the MDP after ODP detection, thus making MNP protocol negotiation possible. Further, the V.42bis compression function can be used in the MNP connection state. 0
*Hn
Selects the communication carrier speed when handshaking. n = 0 Connects at the communication carrier speed set in the DCE n = 1 and performs protocol negotiation. First connects at a communication carrier speed of 1,200 bps (V.22) when handshaking, and performs protocol negotiation. If the line conditions are judged to be good by the DCE itself, the communication carrier speed is changed to 2,400 bps (V.22bis). If the line conditions are still good, the communication carrier speed is changed to 4,800 bps (V.32bis). In the same manner, the communication carrier speed is changed to 7,200 bps (V.32bis), 9,600 bps (V.32bis), 12,000 bps (V.32bis) and 14,400 bps (V.32bis). Data communication is started. (Initial Speed-up Shift Function) 0
Note:
If n is omitted, it is interpreted as n = 0.
A-20
FEDL2121A-02 Semiconductor MSC2121A
Command )Mn
Function Sets the variation of the transmission level during communication. n = 0 DCE does not change the transmission level during communication. n = 1 DCE changes the transmission level during communication according to the line conditions. If the DCE is used in a mobile telephone, etc., the demodulation state information of the remote modem is received and, based on that information, the transmission level is changed to one most suitable for the remote modem.
Initial Value
Remarks
0
Note:
If n is omitted, it is interpreted as n = 0.
A-21
FEDL2121A-02 Semiconductor MSC2121A
RESULT CODES
When the DCE is in asynchronous command mode result codes are returned to the DTE as commands are executed. There are two types of result codes which can be selected by the Vn command. Further, the Qn command selects whether to return result codes. The following shows the format of the two types of result codes. Numeric characters Character string
Numeric character string CR LF CR CR LF
Character string
A-22
FEDL2121A-02 Semiconductor MSC2121A
LIST OF RESULT CODES
Numeric Character
Character String (Word) OK CONNECT RING NO CARRIER ERROR CONNECT 1200 NO DIALTONE BUSY NO ANSWER CONNECT 2400 CONNECT 4800 CONNECT 7200 CONNECT 9600 CONNECT 12000 CONNECT 14400 CONNECT 19200 CONNECT 28800 CONNECT 38400 CONNECT 57600 CONNECT 1200/REL CONNECT 2400/REL CONNECT 4800/REL CONNECT 7200/REL CONNECT 9600/REL CONNECT 12000/REL CONNECT 14400/REL CONNECT 19200/REL
Meaning Commands are executed normally; modem returns to command mode state. Connection is established; modem switches from command mode to data mode. Ring signal detected. Carrier not detected; carrier dropped. Command abnormal; there is an error in the command parameter. The connection is established at a DTE - DCE terminal speed of 1,200 bps. Dial tone not detected. Busy signal detected; dial oscillation spacing is inadequate. Silence state not detected by the @ parameter. Connection established at a DTE-DCE terminal speed of 2,400 bps. Connection established at a DTE-DCE terminal speed of 4,800 bps Connection established at a DTE-DCE terminal speed of 7,200 bps Connection established at a DTE-DCE terminal speed of 9,600 bps Connection established at a DTE-DCE terminal speed of 12,000 bps Connection established at a DTE-DCE terminal speed of 14,400 bps Connection established at a DTE-DCE terminal speed of 19,200 bps Connection established at a DTE-DCE terminal speed of 28,800 bps Connection established at a DTE-DCE terminal speed of 38,400 bps Connection established at a DTE-DCE terminal speed of 57,600 bps Connection established at a DTE-DCE terminal speed of 1,200 bps (with error correction) Connection established at a DTE-DCE terminal speed of 2,400 bps (with error correction) Connection established at a DTE-DCE terminal speed of 4,800 bps (with error correction) Connection established at a DTE-DCE terminal speed of 7,200 bps (with error correction) Connection established at a DTE-DCE terminal speed of 9,600 bps (with error correction) Connection established at a DTE-DCE terminal speed of 12,000 bps (with error correction) Connection established at a DTE-DCE terminal speed of 14,400 bps (with error correction) Connection established at a DTE-DCE terminal speed of 19,200 bps (with error correction)
0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 18 19 22 23 24 25 26 27 28 29
22-32 Error Correction Mode *: The speed display xxxx of "CONNECT xxxx" and "CARRIER xxxx," "PROTOCOL: xxxx" and "COMPRESSION: xxxx" are determined by the Xn and Wn commands.
A-23
FEDL2121A-02 Semiconductor MSC2121A
Numeric Character
Character String (Word) CONNECT 28800/REL CONNECT 38400/REL CONNECT 57600/REL CARRIER 300 CARRIER 1200 CARRIER 2400 CARRIER 4800 CARRIER 7200 CARRIER 9600 CARRIER 12000 CARRIER 14400 COMPRESSION : class 5 COMPRESSION : V.42bis COMPRESSION : NONE PROTOCOL : NONE PROTOCOL : LAPM PROTOCOL : ALT PROTOCOL : ALT+CELLULAR
Meaning Connection established at a DTE-DCE terminal speed of 28,800 bps (with error correction) Connection established at a DTE-DCE terminal speed of 38,400 bps (with error correction) Connection established at a DTE-DCE terminal speed of 57,600 bps (with error correction) Connection established at a communication carrier speed of 300 baud. (V.21/Bell 103J) Connection established at a communication carrier speed of 1,200 baud. (V.22/Bell 212A) Connection established at a communication carrier speed of 2,400 baud. (V.22bis) Connection established at a communication carrier speed of 48,00 baud. (V.32) Connection established at a communication carrier speed of 7,200 baud. (V.32bis) Connection established at a communication carrier speed of 9,600 baud. (V.32/V.32bis) Connection established at a communication carrier speed of 12,000 baud. (V.32bis) Connection established at a communication carrier speed of 14,400 baud. (V.32bis) The Class 5 MNP standard is used for data compression. The V.42bis ITU-T standard is used for data compression. Data compression not used. Error correction protocol not used. The V.42 LAP-M ITU-T standard is used for the error correction protocol. The Class 4 MNP standard is used for the error correction protocol. The Class 10 MNP standard is used for the communication protocol. The Class 4 MNP standard is used for the error correction protocol.
30 31 32 40 42 43 44 45 46 47 48 66 67 69 76 77 80 82
*: The speed display xxxx of "CONNECT xxxx" and "CARRIER xxxx," "PROTOCOL: xxxx" and "COMPRESSION: xxxx" are determined by the Xn and Wn commands.
A-24
FEDL2121A-02 Semiconductor MSC2121A
DISPLAY FORMAT
* The following is displayed by executing the AT&V command.
DTE SPEED & CHARACTER FORMAT : 9600 bps 8bit Non-Parity 1Stop-bit ACTIVE- : B0 E1 M1 N1 Q0 V1 W0 X4 &C0 &D0 &G0 &L0 &M0 &P1 &S0 &T4 &U0 &Y0 PROFILE %C1 %E1 \A3 \C0 \G0 \J0 \K5 \N3 \Q2 \X0 -N1 -K0 *H0 )M0 S00 = 000 S01 = 000 S02 = 043 S03 = 013 S04 = 010 S05 = 008 S06 = 004 S07 = 050 S08 = 002 S09 = 006 S10 = 014 S12 = 050 S14 = 170 S18 = 000 S21 = 004 S22 = 244 S23 = 059 S25 = 005 S26 = 001 S27 = 000 S36 = 007 S37 = 000 S38 = 020 S39 = 064 S40 = 055 S41 = 153 S42 = 024 S43 = 000 S44 = 000 S46 = 136 S48 = 007 S49 = 000 STORED- : B0 E1 M1 N1 Q0 V1 W0 X4 &C0 &D0 &G0 &L0 &M0 &P1 &S0 &T4 &U0 PROFILE %C1 %E1 \A3 \C0 \G0 \J0 \K5 \N3 \Q2 \X0 -N1 -K0 *H0 )M0 No.0 S00 = 000 S06 = 004 S07 = 050 S08 = 002 S09 = 006 S10 = 014 S12 = 050 S14 = 170 S18 = 000 S21 = 004 S22 = 244 S23 = 059 S25 = 005 S26 = 001 S27 = 000 S36 = 007 S38 = 020 S39 = 064 S40 = 055 S41 = 153 S42 = 024 S43 = 000 S44 = 000 S46 = 002 S48 = 007 S49 = 000 STORED- : B0 E1 M1 N1 Q0 V1 W0 X4 &C0 &D0 &G0 &L0 &M0 &P1 &S0 &T4 &U0 %C1 %E1 \A3 \C0 \G0 \J0 \K5 \N3 \Q2 \X0 -N1 -K0 *H0 )M0 PROFILE S00 = 000 S06 = 004 S07 = 050 S08 = 002 S09 = 006 S10 = 014 S12 = 050 S14 = 170 No.1 S18 = 000 S21 = 004 S22 = 244 S23 = 059 S25 = 005 S26 = 001 S27 = 000 S36 = 007 S38 = 020 S39 = 064 S40 = 055 S41 = 153 S42 = 024 S43 = 000 S44 = 000 S46 = 002 S48 = 007 S49 = 000 TX CARRIER = -15dBm LEVEL : PRODUCTION = MSC2121A REMAIN : VER = 1.00 OK
* The following is displayed by executing the AT\F command.
STORED DIAL (&Z0) = 03-1234-5678 STORED DIAL (&Z1) = STORED DIAL (&Z2) = STORED DIAL (&Z3) = LAST DIAL = OK
* The following is displayed by executing the AT%R command.
REG S00 S01 S02 S03 S04 S05 S06 S07 S08 S09 OK DEC 000 000 043 013 010 008 004 050 002 006 HEX 00H 00H 2BH 0DH 0AH 08H 04H 32H 02H 06H REG S00 S11 S12 S13 S14 S15 S16 S17 S18 S19 DEC 014 --050 --170 --000 --000 --HEX 0EH --32H --AAH --00H --00H --REG S20 S21 S22 S23 S24 S25 S26 S27 S28 S29 DEC --004 244 059 --005 001 000 ----HEX --04H F4H 3BH --05H 01H 00H ----REG S30 S31 S32 S33 S34 S35 S36 S37 S38 S39 DEC --------015 009 007 000 020 064 HEX --------0FH 09H 07H 00H 14H 40H REG S40 S41 S42 S43 S44 S45 S46 S47 S48 S49 DEC 055 153 024 000 000 000 002 --007 000 HEX 37H 99H 18H 00H 00H 00H 02H --07H 00H
A-25
FEDL2121A-02 Semiconductor * The following is displayed by executing the AT\Sn command. Display of the first screen [AT\S or AT\S0]
DTE Speed DCE Speed DCE Type Modem Type Line Mode Auto Answer Dial Mode Dial Speed Command Echo Result Code Extended CONNECT Extended Result Speaker Control DCD Control DTR Control DSR Control OK 9600 Off-line DATA ITU-T GSTN Off Pulse 33% 10PPS On On
MSC2121A
AT+FCLASS=0 ATB0 AT&L0 S0=000 ATP AT&P1 ATE1 ATV1 ATW0 ATX4 ATM1 AT&C0 AT&D0 AT&S0
Display of the second screen [AT\S1]
Modem Mode DTE Speed Adjust Block Size Break Control Break length Auto Buffer Fall-Back Code Flow (DTE-DCE) Flow (DCE-DCE) Pass Xon/Xoff Watch timer Data Compression V. 32bis trellis Cellular OK Auto V. 42/MNP Off 256 AT\N3 AT\J0 AT\A3 AT\K5 AT\B003 AT\C0 AT%A000 AT\Q2 AT\G0 AT\X0 AT\T000 AT%C1 AT&U0 AT-N1
CTS Off Off Off On On Off
S-REGISTER SETTINGS
The S-register can display and change the register contents by means of the following command examples: Example 1 ATS0 = 4: Sets the S0 register to 4. Example 2 ATS0: Stores 0 in the register pointer. AT = 4: Sets 4 to the register specified at the register pointer (S0). Example 3 ATS0?: Displays the contents of the S0 register. Example 4 AT?: Displays the current value of the register pointer stored in memory. Note: If AT = ? is executed, the register number, pointed to by the register pointer currently stored in memory, is set to 0, and that set value (0) is displayed.
A-26
FEDL2121A-02 Semiconductor MSC2121A
MNP CLASS 10 OPERATION
The MNP Class 10 protocol has four main functions for performing modem communication in a state which is best suited to the line conditions. * Initial Speed-up Shift Function This function is enabled by setting the AT*H1 command. If AT*H0 is set, the modem performs handshaking with the remote modem at the communication carrier speed set in the DCE, and then performs protocol negotiation. If AT*H1 is set, hand shaking is performed with the remote modem at a communication carrier speed of 1,200 bps (V.22), since this speed performs well even if line noise is present and improves the probability of connecting properly even with poor line conditions. The modem performs protocol negotiation. Afterwards, both modems judge the line condition by means of the reception condition. If the line conditions are judged to be unsuitable when the communication carrier speed is at 2,400 bps (V.22bis), the modem starts data communication as is, at a communication carrier speed of 1,200 bps. If the line conditions are satisfactory, the communication carrier speed is shifted upwards to 2,400 bps and both modems judge the line conditions by means of the reception condition. If the line conditions are judged to be unsuitable when the communication carrier speed is at 4,800 bps (V.32bis), the modem starts data communication as is, at a communication carrier speed of 2,400 bps. If the line conditions are satisfactory, the communication carrier speed is shifted upwards to 4,800 bps and both modems judge the line conditions by means of the reception condition. The above operation is performed for 4,800 bps (V.32bis), 9,600 bps (V.32bis), 12,000 bps (V.32bis) and 14,400 bps (V.32bis), and data communication is performed at the highest communication carrier speed suited to the current line conditions. * Robust Auto Reliable Function The DCE performs the following processing during protocol negotiation in order to raise the protocol connectivity as much as possible, even if the line conditions are poor. a) If in originate mode: * If there is no response from the remote modem to a link request frame sent, the DCE retransmits the link request frame a maximum of 15 times at 2 second intervals. * The link verification frame is transmitted twice during negotiation. * The link disconnect frame is transmitted twice in order to refuse the link establishment. If in answer mode: * If even one SYN code is detected in the data received from the remote modem, the link establishment timer is increased to 30 seconds. * The link disconnect frame is transmitted twice in order to refuse the link establishment.
b)
A-27
FEDL2121A-02 Semiconductor MSC2121A
*Aggressive Adaptive Packet Size Function If a data error is generated in a frame due to line noise, etc. during data communication, the DCE reduces the frame size (shortens the frame transmission time) and holds the qualitative drop in the transmission throughput to a minimum by actively changing the frame size. Thus, data communication is performed in a state best suited to the given line conditions. The DCE monitors the frequency with which data errors are generated and executes this function in cases such as when the line conditions change gradually. * Dynamic Speed Shift Function During the protocol negotiation, the DCE learns which modem standards the remote modem supports, and freely changes to those modem standards during data communication. The DCE monitors the frequency with which data errors are generated and executes this function in cases such as when the line conditions change suddenly. For example, if a sudden line degradation is detected during data communication at a communication carrier speed of 14,400 bps (V.32bis), the DCE requests a change to a communication carrier speed of 12,000 bps (V.32bis), thus rapidly dealing with the poor line condition. Further, conversely, if an improvement in the line condition is detected during data communication at a communication carrier speed of 12,000 bps, the DCE requests to the remote modem a return to a communication carrier speed of 14,400 bps, thus raising the qualitative transmission throughput.
A-28
FEDL2121A-02 Semiconductor MSC2121A
Appendix B EIA/TIA-578 (Class 1) Facsimile Commands OVERVIEW
The EIA/TIA-578 (Class 1) fax commands are added to the AT command set, and begin with or , the same as for AT commands. The up to the carriage return is interpreted as commands and executed. The result code is returned to the DTE. If multiple commands are sent in the same character string, commands are separated by a colon ":" (3Bh). To switch the modem from the data modem to the Class 1 fax mode, the AT+FCLASS=1 command is executed. To return to the data modem, the AT+FCLASS=0 command must be executed. The command structure and result codes conform to the AT command set. When inputting commands, communication with the DTE is handled in asynchronous mode, the same as for AT commands. When AT (at) is input, the DTE-DCE terminal speed and character format are automatically determined. To execute Class 1 fax communication, application software (G3 fax communication software) is used which conforms to the EIA/TIA-578 (Class 1) fax command standards.
DTE-DCE TERMINAL SPEED AND CHARACTER FORMAT
The DTE-DCE terminal speed and character format are the same as for AT commands when in the EIA/TIA-578 command mode. However, to execute fax communication, the DTE-DCE terminal speed must be 19,200 bps or greater, and the character format must have 1 start bit, 8 data bits, no parity, 1 stop bit and a character length of 10.
LIST OF EIA/TIA-578 (CLASS 1) FAX COMMANDS
Command + FCLASS =? Function Returns all service classes supported by the DCE. Parameter: <0, 1> 0 = Data communication 1 = Fax communication (Class 1 fax commands) Returns the service class currently set in the DCE. 0 = Data communication. 1 = Fax communication (Class 1 fax commands). Switches the DCE to the specified service class. n = 0 Data communication. n = 1 Fax communication (Class 1 fax commands). 0 Initial Value Remarks
+ FCLASS?
+ FCLASS =n
Note:
If n and t are not specified, it results in an error.
B-1
FEDL2121A-02 Semiconductor MSC2121A
Command
+FTS=t
Function Stops transmission and returns the OK result code after the specified time. Specified time = t x 10 ms; t = 0 to 255 Detects a continuous silence for the specified time and returns the OK result code. Specified time = t x 10 ms; t = 0 to 255 Transmits fax data by the modulation method specified by m. Returns all fax data modulation methods supported by the DCE. Parameter: <24, 48, 72, 73, 74, 96, 97, 98, 121, 122, 145, 146>
Initial Value
Remarks
+FRS=t
+FTM=m +FTM=?
*1
+FRM=m +FRM=?
Receives the fax data by the demodulation method specified by m. Returns all fax data demodulation methods supported by the DCE. Parameter: <24, 48, 72, 73, 74, 96, 97, 98, 121, 122, 145, 146>
*1
+FTH=m +FTH=?
Transmits the HDLC format by the modulation method specified by m. Returns all HDLC format modulation methods supported by the DCE. Parameter: <3, 24, 48, 72, 73, 74, 96, 97, 98, 121, 122, 145, 146>
*1
+FRH=m +FRH=?
Receives HDLC format by the demodulation method specified by m. Returns all HDLC format demodulation methods supported by the DCE. Parameter: <3, 24, 48, 72, 73, 74, 96, 97, 98, 121, 122, 145, 146> Returns all DTE-DCE flow control methods, when in fax communication mode, supported by the DCE. Parameter: <0, 1> 0 = Bidirectional flow control based on XON/XOFF codes. 1 = Bidirectional flow control based on the CTS (CS) signal line and RTS (RS) signal line. Returns the DTE-DCE flow control method, when in fax communication mode, currently set by the DCE. 0 = Bidirectional flow control based on XON/XOFF codes. 1 = Bidirectional flow control based on the CTS (CS) signal line and RTS (RS) signal line. Sets the DTE-DCE flow control methods, when in fax communication mode, in the DCE. 0 = Bidirectional flow control based on XON/XOFF codes. 1 = Bidirectional flow control based on the CTS (CS) signal line and RTS (RS) signal line.
*1
+FLO=?
+FLO?
+FLO=n
0
*1: Refer to the "Specification of the Modulation/Demodulation Method" section regarding the setting of the modulation/demodulation method.
Note:
If n and m are not specified, it results in an error.
B-2
FEDL2121A-02 Semiconductor MSC2121A
Command
A
Function Connects the DCE to the line in the fax receive mode. The CED signal transmission and the +FTH=3 command are automatically added to the A command of the AT command. Dials and performs fax transmission. The CNG signal transmission and the +FRH=3 command are automatically added to the Dc command of the AT command. Disconnects the telephone line (goes on hook). If this command is executed during transmission/reception, the telephone line is disconnected (goes on hook) after stopping that transmission/reception.
Initial Value
Remarks
Dc
H
Note: If n and m are not specified, it results in an error.
SPECIFICATION OF MODULATION/DEMODULATION METHOD
The m which specifies the modulation/demodulation method in the +FTM=m, +FRM=m, +FTH=m, +FRH=m commands must be specified using the codes indicated in the table below. Further, if m is set to a question mark "?" (e.g., +FTH=?), the modem returns the codes of all supported modulation/demodulation methods to the DTE. * List of modulation/demodulation methods used by EIA/TIA-578 (Class 1) fax commands.
Moduration/ Code Demoduration on Method 3 24 48 72 73 74 96 97 98 121 122 145 146 V.21 ch.2 V.27 ter V.27 ter V.29 V.17 V.17 w/st V.29 V.17 V.17 w/st V.17 V.17 w/st V.17 V.17 w/st
Communication Speed 300 bps 2400 bps 4800 bps 7200 bps 7200 bps 7200 bps 9600 bps 9600 bps 9600 bps 12000 bps 12000 bps 14400 bps 14400 bps
Required Conditions It is essential to specify by the +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands. Specify by the +FTM, +FRM, +FTH and +FRH commands.
B-3
FEDL2121A-02 Semiconductor MSC2121A
RESULT CODES
The result codes to the EIA/TIA-578 (Class 1) commands operate under the same conditions as those for the result codes of the AT commands. However, "NO CARRIER" (numeric character 3) does not mean that the modem changes to the on hook state.
Numeric Character String Character (Word) 0 1 2 3 OK CONNECT RING NO CARRIER Meaning The command executed normally and the modem returns to the command mode state. The modem entered the data transmission state. Data input/output is performed. A ring signal was detected. A receive carrier was not detected. Or, since the receive carrier stopped, data reception ends. However, this does not mean that the modem has changed to the on hook state. 4 ERROR The command is abnormal or there is an error in the command parameters. Or, the command ended abnormally. The modem returns to the command mode state. There is an abnormality in the HDLC frame. Or, data is not input from the DTE during transmission even after 5 seconds have elapsed. 6 7 +F4 NO DIALTONE BUSY +FCERROR A dial tone was not detected. A busy tone was detected. The dial interval is insufficient. A signal was received other than one specified by the AT+FRM=x or AT+FRH=x command.
FAX COMMUNICATION PROTOCOL
If executing facsimile communication using EIA/TIA-578 (Class 1) fax commands, the DTE side must be responsible for creating and managing the modulation/demodulation method, HDLC frame configuration, various signal procedures, methods, various signal times and intervals as stipulated in ITU-T Recommendation T.30 which is the facsimile communication protocol. This is the same for message data: the DTE must be responsible for creating and decoding the message data in the format stipulated by ITU-T Recommendation T.4 (MH, MR conversion) or T.6 (MMR conversion).
B-4
FEDL2121A-02 Semiconductor MSC2121A
HDLC FRAME DATA
The +FTH=m command performs the following processing on the HDLC frame data input from the DTE, and transmits the data to the remote fax by the specified modulation method. Recognize the codes as the end of data input. Replace the codes with one code. Delete the code and the next character. Perform the frame check sequence and add the 2-byte FCS. Insert the HDLC zero bit. Continuously transmit the HDLC flag. The +FRH=m command performs the following processing on the HDLC frame data received from the remote fax by the specified modulation method. Delete the HDLC flag. Delete the HDLC zero bit. Perform the frame check sequence and verify the 2-byte FCS. However, the 2-byte FCS is not deleted. Replace each code with codes. Add the codes as an end of data transmission.
MESSAGE DATA
The +FTH=m command performs the following processing on the message data input from the DTE, and transmits the data to the remote modem by the specified modulation method. Recognize the codes as the end of data input. Replace the codes with one code. Delete the code and the next character. The +FRH=m command performs the following processing on the message data received from the remote fax by the specified modulation method, and sends the data to the DTE. Replace each code with codes. Add the codes as an end of data transmission. Note: The following recommendations, at a minimum, must be understood and followed if using the EIA/TIA-578 (Class 1) fax commands. ITU-T T.4 ITU-T T.6 ITU-T T.30 EIA/TIA-578 Standardization of group 3 facsimile apparatus for document transmission. Facsimile coding schemes and coding control functions for group 4 facsimile apparatus. Procedures for document facsimile transmission in the general switched telephone network. Service Class 1 Asynchronous Facsimile DCE Control Standard.
B-5
FEDL2121A-02 Semiconductor MSC2121A
B-6
FEDL2121A-02 Semiconductor MSC2121A
Appendix C S-Registers OVERVIEW
In this modem, the memory referenced as a variable or state (status), used for the main environment settings known as the S-registers, is arranged in RAM. When the power is turned on, only the S-registers marked with an asterisk "*" on the List of SRegisters are copied from non-volatile memory to the relevant S-registers, making it possible to automatically set the environment. Further, the contents and initial value of each S-register are recorded in the List of S-registers and Bit-mapped S-Registers.
LIST OF S-REGISTERS
Registers marked with an asterisk "*" are stored in non-volatile memory. Set values with input ranges outside of 0 to 255 are forced to the maximum/minimum value when set. The functioning and operation of the modem cannot be guaranteed if S-registers other than the ones listed below are written to or read from.
C-1
FEDL2121A-02 Semiconductor MSC2121A
S-Register No.
Range 0 to 255 0 to 255 0 to 127 0 to 127 0 to 127
0 to 32, 127
Unit Count Count ASCII ASCII ASCII ASCII Seconds Seconds Seconds
Initial Value 0 0 43 13 10 8 4 50 2 6 14 170 0 0 4 244 63 5 1 0 5 3 7 0 20 64 55 153 24 0 0 32 2 7 0
Function Number of ring signals for the auto answer mode; 0 = auto answer OFF. Number of ring signals received. Escape sequence code. Carriage return code. Line feed code. Back space code. Pause time from off hook until the start of dialing. Allowable time until connection is established. Pause time of comma (,) when dialing Carrier detect time. Carrier loss detect time; 255 does not automatically go on hook. Bit-mapped option register. Bit-mapped option register. Timer for testing. Bit-mapped option register. Bit-mapped option register. Bit-mapped option register. Minimum time of DTR(ER) OFF detection. Delay time from RTS to CTS. Bit-mapped option register. Attenuation level of the data carrier output. Attenuation level of the DTMF (tone) output. Fallback option selection. Maximum DCE line speed setting: 0 = based on the S23 and S45 registers. Time until line disconnect: 255 = line does not disconnect. Bit-mapped option register. Bit-mapped option register. Bit-mapped option register. Bit-mapped option register. Fallback character in the auto reliable mode. Inactivity timer of the \Tn command: 0 = no timer function. Display of DTE-DCE terminal speed: Enabled when S23.3-1 = 7. Protocol and data compression specification: Enabled when S48 = 0. Protocol negotiation specification. Bit-mapped option register.
*S0 S1 S2 S3 S4 S5 *S6 *S7 *S8 *S9 *S10 *S14 S16 *S18 *S21 *S22 *S23 *S25 *S26 *S27 *S34 *S35 *S36 *S37 *S38 *S39 *S40 *S41 *S42 *S43 *S44 *S45 *S46 *S48 *S49
4 to 20 1 to 50 0 to 255
1 to 255 1/10 Second 1 to 255 1/10 Second -- -- 0 to 255 -- -- -- -- -- Seconds -- -- --
0 to 255 1/100 Second 0 to 255 1/100 Second -- 0 to 5 0 to 5 0 to 7 0 to 11 0 to 255 -- -- -- -- 0 to 127 0 to 90 0 to 32 0 to 138 0, 7, 128 -- -- dB dB -- -- Seconds -- -- -- -- ASCII Minutes -- -- -- --
C-2
FEDL2121A-02 Semiconductor General S-Registers
Register No. S0 Default: 0 Profile: Yes S1 Default: 0 Profile: No S2 Default: 43 Profile: No S3 Default: 13 Profile: No S4 Default: 10 Profile: No S5 Default: 8 Profile: No S6 Default: 4 Profile: Yes S7 Default: 50 Profile: Yes * Specifies the escape sequence code character. * Specify in the range of 0 to 127 in ASCII code (decimal). * The default "43" displays a "+" code. * Specifies the carriage return code character. * The specified character is used in commands and result codes. * Specify in the range of 0 to 127 in ASCII code (decimal). * Uses the default code (ASCII 13). * Specifies the line feed code character. * The specified character is used in commands and result codes. * Specify in the range of 0 to 127 in ASCII code (decimal). * Uses the default code (ASCII 10). * Specifies the backspace code character. * The specified character is used in commands. * Specify in the range of 0 to 32, 127 in ASCII code (decimal). * Uses the default code (ASCII 8). * Sets the pause time from off hook to the start of dialing. * Specify in the range of 4 to 20 (Units: Seconds). * Used when dial tone detection is not performed during dialing. * Specifies the maximum time until a carrier signal is detected. * Disconnects the line if a carrier signal is not detected within the specified time. * In originate mode: the time from the end of dialing until carrier signal detection. In answer mode: the time from off hook until carrier signal detection. * Specify in the range of 1 to 50 (Units: Seconds). S8 Default: 2 Profile: Yes S9 Default: 6 Profile: Yes S10 Default: 14 Profile: Yes * Specifies the pause time of the dial control character (comma ",") used in the ATD command. * Specify in the range of 0 to 255 (Units: Seconds). * No pause when set to 0. * Specifies the carrier signal detection time. * If the carrier signal duration is shorter than the specified time, it is not detected. * Specify in the range of 1 to 255 (Units: 1/10 second). * Specifies the carrier signal loss detection time. * If a carrier signal loss longer than the specified time is detected, the line is automatically disconnected. * If 255 is specified, automatic line disconnect is not performed. Therefore, the DTE must go on hook at the DTR(ER) signal or by the H command. * Specify in the range of 1 to 255 (Units: 1/10 second). Function * Specifies the number of ring signals to be received when auto answering. * Specify in the range of 0 to 255 (Units: Number of rings). * 0 specifies no auto answer. * 1 to 255 specifies the number of ring signals received until the start of auto answer. * Counts the number of ring signals received when there is an incoming call. * This register clears 8 seconds after the ring signals stop.
MSC2121A
C-3
FEDL2121A-02 Semiconductor MSC2121A
Register No. S18 Default: 0 Profile: Yes S25 Default: 5 Profile: Yes S26 Default: 1 Profile: Yes S34 Default: 5 Profile: Yes S35 Default: 3 Profile: Yes S36 Default: 7 Profile: Yes * Specifies the fallback options.
Function * Specifies the measurement time of the loopback test. * Specify in the range of 0 to 255 (Units: Seconds). * Specifies the timespan to detect that DTR(ER) is OFF. * Specify in the range of 0 to 255 (Units: 1/100 second). * The delay time until the CTS (CS) signal is turned ON when the RTS(RS)signal changes from ON to OFF. * Specify in the range of 0 to 255 (Units: 1/100 second). * Sets the attenuation level for the data carrier output line. * Specify in the range of 0 to 5 (Units: dB). * Sets the attenuation level for the DTMF (tone) output line. * Specify in the range of 0 to 5 (Units: dB).
* This register operates when the S48 register is 128, and the V.42 link could not be connected. * If an invalid value is specified, the value itself is accepted, but actual operation takes place as though the default was input. * Specify in the range of 0 to 7. 0: DCE disconnects the line. 1: DCE establishes a direct mode connection. 2: Reserved. 3: DCE establishes a normal mode connection. 4: The DCE tries to make an MNP link connection. If the connection fails, the line is disconnected. 5: The DCE tries to make an MNP link connection. If the connection fails, then a connection is established in direct mode. 6: Reserved. 7: The DCE tries to make an MNP link connection. If the connection fails, then a connection is established in normal mode.
C-4
FEDL2121A-02 Semiconductor MSC2121A
Register No. S37 Default: 0 Profile: Yes
Function * Specifies the maximum communication carrier speed of the DCE. * When S40.5 = 0, tries to connect to the remote modem at the specified communication carrier speed. When S40.5 = 1, tries to connect with the remote modem at a high communication carrier speed which is supported by both modems, but not exceeding the range of the specified communication carrier speed. * If an invalid value is specified, the value itself is accepted, but actual operation takes place as though the default was input. * Specify in the range of 0 to 13. 0: Communication carrier speed is specified according to the local DTE terminal speed. Based on bits 3, 2, 1 of the S23 register and the S45 register: S23 bits: b3 0 0 0 1 1 1 1 1 1: V.21 2: V.21 or Bell 103J 3: V.21 or Bell 103J 5: V.22 or Bell 212A 6: V.22bis or Bell 224 7: V.32 8: V.32bis 9: V.32 or V.32bis 10: V.32bis 11: V.32bis b2 0 1 1 0 0 1 1 1 b1 0 0 1 0 1 1 1 1 V.21 or Bell 103J V.22 or Bell 212A V.22bis or Bell 224 V.32 V.32 or V.32bis and S45 = 8, V.32bis and S45 = 16, V.32bis and S45 = 17 or greater, V.32bis 300 bps 1200 bps 2400 bps 4800 bps 7200 bps 9600 bps 12000 bps 14400 bps 300 bps 300 bps 300 bps 1200 bps 2400 bps 4800 bps 7200 bps 9600 bps 12000 bps 14400 bps
S38 Default: 20 Profile: Yes
* Specifies the time until the line is disconnected. * When in error correction mode if a disconnect command is received, or the DTR(ER) goes from ON to OFF, or data appears in the buffer, the DCE will lose its data, or it will wait the specified amount of time, disconnect the line and discard the data. * If a value from 0 to 254 is specified, waits the specified amount of time before disconnecting the line, or sends all data. * If a value of 255 is specified, the line is not disconnected until all the data is sent. * Specify in the range of 0 to 255 (Units: Seconds).
S43 Default: 0 Profile: Yes
* Specifies the fallback character used in the auto reliable mode. * Specify by the AT%Ac command. * Specify in the range of 0 to 127 ASCII code (decimal).
C-5
FEDL2121A-02 Semiconductor MSC2121A
Register No. S44 Default: 0 Profile: Yes * Sets the inactivity timer.
Function * If 0 is specified the timer does not function. * When connecting in reliable mode, if there is no data transmission or reception even if a time longer than the specified time has elapsed, the line is disconnected. * Set by the AT\Tn command. * Specify in the range of 0 to 90 (Units: minutes).
S45 Default: 32 Profile: Yes
* Displays the DTE-DCE terminal speed. * Set by automatic recognition of "AT" or "SET." * When bits 1 to 3 of the S23 register are all "1," this register is enabled, and the DTE-DCE terminal speed is displayed. * Displayed by a numeric value in the range of 0 to 32. 0 Terminal speed is indicated by bits 1 to 3 of the S23 register. 8: 7,200 bps 16: 12,000 bps 17: 14,400 bps 19: 19,200 bps 23: 28,800 bps 27: 38,400 bps 32: 57,600 bps
S46 Default: 2 Profile: Yes
* Specifies the communication protocol and data compression when the S48 register is specified as "0." * If an invalid value is specified, the value itself is accepted, but actual operation takes place as though the default was input. * Displayed by a numeric value in the range of 0 to 138. 0: Only normal mode connection. 1: Only MNP Class 3, 4 connection. 2: Only LAPM or V.42bis connection. 3: Only MNP Class 5 connection. 136: Only LAPM connection. 138: Only V.42bis connection.
S48 Default: 7 Profile: Yes
* Sets the negotiation of the communication protocol with the remote modem. * For negotiation with the remote modem, this register is referred to with maximum priority, and the communication protocol of the link connection is determined based on this register. * Specify as 0, 7 or 128. 0: Communication protocol of the link connection is determined by the S46 register. 7: Communication protocol of the link connection is determined by the AT\Nn command. 128: Communication protocol of the link connection is determined by the AT\Nn command. However, if the link connection fails with V.42, the modem operates according to the S36 register.
C-6
FEDL2121A-02 Semiconductor Bit-mapped S-Registers
Register No. S14 Default: 170 Profile: Yes Bit Position Bit State 0 1 2 3 4 5 6 7 S16 Default: 0 Profile: No 0 1 2 3 4 5 6 7 S21 Default: 4 Profile: Yes 0 1 2 0 *1 * 0, 0 4, 3 0, 1 1, 0 1, 1 5 6 7 *0 1 *0 1 *0 1 *0 1 *0 1 *0 1 *0 1 *0 1 0 *1 *0 1 0 *1 *0 1 0 *1 *0 1 0 *1 Function
Relevant Commands
MSC2121A
Reserved (bit state is "0"). * No echo back when in command mode. * Echo back when in command mode. * Result codes. * No result codes. * Digit form result code (numeric). * Word form result code (character string). * Pulse dialing speed 10 pps. * Pulse dialing speed 20 pps. * Sets tone dialing as the default. * Sets pulse dialing as the default. Reserved (bit state is "0"). * Answer mode. * Originate mode. * Local analog loopback test (LAL) disabled. * Local analog loopback test (LAL) enabled. Reserved (bit state is "0"). * Local digital loopback test (LDL) disabled. * Local digital loopback test (LDL) enabled. * The RDLB from the remote modem stops. * The RDLB from the remote modem is in operation. * Remote digital loopback test (RDL) disabled. * Remote digital loopback test (RDL) enabled. * RDL disabled by the self diagnostic. * RDL enabled by the self diagnostic. * LAL disabled by the self diagnostic. * LAL enabled by the self diagnostic. Reserved (bit state is "0"). Reserved (bit state is "0"). Reserved (bit state is "0"). * Responds to the RTS(RS) and controls the CTS(CS). * Ignores the RTS(RS). * Ignores the DTR(ER). * Returns to the command mode by DTR(ER) ON AE OFF. * Disconnects the line by DTR(ER) ON AE OFF. * Initializes by DTR(ER) ON AE OFF. * The DCD(CD) is always ON. * The DCD(CD) depends on the presence of the receive carrier. * The DSR(DR) is always ON.
&D0 &D1 &D2 &D3 &C0 &C1 &R0 &T0 &T6 &T0 &T7 &T0 &T8 &T0 &T3 (&T4) A D &T0 &T1
E0 E1
Q0 Q1 V0 V1 &P0, &P1 &P2 T P
&S0 * The DSR(DR) follows the various ITU-T recommendations. &S1
* Line does not disconnect by a break signal. * Line disconnects by a break signal.
Y0 Y1
C-7
FEDL2121A-02 Semiconductor MSC2121A
Register No.
Bit Position Bit State
Function
Relevant Commands
S22 Default: 244 Profile: Yes
0 1 0, 0 * 0, 1 1, 0 1, 1 0, 0, 0 0, 0, 1 0, 1, 0 6, 5, 4 0, 1, 1 1, 0, 0 1, 0, 1 1, 1, 0 * 1, 1, 1 7 0 * * 1 0 1 0, 0, 0 0, 0, 1 0, 1, 0 3, 2, 1 0, 1, 1 1, 0, 0 1, 0, 1 1, 1, 0 * 1, 1, 1 0, 0 0, 1 1, 0 * 1, 1 * 0, 0 0, 1 7, 6 1, 0 1, 1
Reserved (bit state is "0"). Reserved (bit state is "0"). * Monitor speaker is always OFF. * Monitor speaker is ON until a carrier signal is detected. * Monitor speaker is always ON. * Monitor speaker is ON only during handshake. * Returns a basic result code. Reserved. Reserved. Reserved. * Returns a basic + extended (no busy or dial detection). * Returns a basic + extended (no busy tone detection). * Returns a basic + extended (no dial tone detection). * Returns a basic + extended (all functions are enabled). * Uses pulse dialing with make/break ratio of 39%. * Uses pulse dialing with make/break ratio of 33%. * Refuses remote digital loopback test. * Permits remote digital loopback test. * Local DTE terminal speed: 0 ~ 300 bps. Reserved. * Local DTE terminal speed: 1,200 bps. * Local DTE terminal speed: 2,400 bps. * Local DTE terminal speed: 4,800 bps. * Local DTE terminal speed: 9,600 bps. Reserved. * Local DTE terminal speed is displayed by the S45 register. * Even parity. * Space parity. * Odd parity. * Mark or no-parity. * No guard tone * 550 Hz guard tone. * 1,800 Hz guard tone. Reserved. &G0 &G1 &G2 X1 X2 X3 X4 &P0 &P1, &P2 &T5 &T4 M0 M1 M2 M3 X0
3, 2
S22 Default: 244 Profile: Yes
0
5, 4
C-8
FEDL2121A-02 Semiconductor MSC2121A
Register No.
Bit Position Bit State
Function
Relevant Commands
S27 Default: 0 Profile: Yes
1, 0
* 0, 0 0, 1 1, 0 1, 1 * 0 1 0, 0 0, 1 1, 0 1, 1 * 0 1
* Specifies the asynchronous mode * Specifies synchronous mode 1. * Specifies synchronous mode 2. * Specifies synchronous mode 3. * Specifies general public switched line. * Specifies dedicated line. Reserved (bit state is "0"). * ST2 clock setting. * ST1 clock setting. * RT clock setting. * Not used. * Modem operation based on ITU-T recommendations. * Modem operation based on BELL standards. Reserved (bit state is "0"). Reserved (bit state is "000").
&M0 &M1 &M2 &M3 &L0 &L1 &X0 &X1 &X2 B0 B1
2 3 5, 4
6 7 S39 Default: 64 Profile: Yes 2, 1, 0 3
* * *
0 1 0 1 0 1 0 1
* Extended MNP is disabled. * Extended MNP is enabled. * Connects at the specified communication carrier speed. * Connects at a communication carrier speed of 1,200 bps (V.22). * Changes transmission level during communication. * MNP 10 protocol is enabled. * MNP 10 protocol is disabled. Reserved (bit state is "0").
-K0 -K1 *H0 *H1 )M1 -N0 -N1
4 5 6 7
* Does not change transmission level during communication. )M0
*
C-9
FEDL2121A-02 Semiconductor MSC2121A
Register No. S40 Default: 55 Profile: Yes
Bit Position Bit State
Function
Relevant Commands
0, 0 1, 0 0, 1 1, 0 * 1, 1 0, , 4, 3, 2 1, 0, 0 * 1, 0, 1 1, 1, * 0 1
* Uses normal mode. * Uses direct mode. * Uses reliable mode. * Uses auto reliable mode. Reserved. * Uses break mode 4. * Uses break mode 5. Reserved. * Inhibits auto fallback function. * Enables auto fallback function. * Reports terminal speed. * Reports communication carrier speed, protocol data compression and terminal speed. * Reports communication carrier speed. * Report appends to the terminal carrier speed whether there is error correction (/REL). * No auto retrain. * Auto retrain.
\N0 \N1 \N2, 4 to 6 \N3, \N7 \K4 \K5 N0 N1 W0 W1 W2 W3 %E0
5
* 0, 0 0, 1 7, 6 1, 0 1, 1 S41 Default: 153 Profile: Yes 0 * * * 1 0 1 0 1 0, 0 4, 3 0, 1 1, 0 * 1, 1 * 0, 0 6, 5 0, 1 1, 0
0 1 2
%E1 * Does not perform flow control between the modem and the remote modem. \G0 * Performs flow control based on XON/XOFF codes. * Does not send XON/XOFF codes to the remote modem. * Sends XON/XOFF codes to the remote modem (transparent). * Maximum block length is 64 bytes. * Maximum block length is 128 bytes. * Maximum block length is 192 bytes. * Maximum block length is 256 bytes. * No buffering. * Buffers until an SYN or ODP is received, until 200 characters are received, or until 8 seconds of reception. * Received data is discarded until the auto reliable fallback character is received, or until a maximum of 8 seconds of reception. Reserved. * No data compression. * Data compression. %C0 %C1 \G1 \X0 \X1 \A0 \A1 \A2 \A3 \C0 \C1 \C2
1, 1 7 0 * 1
C-10
FEDL2121A-02 Semiconductor MSC2121A
Register No.
Bit Position Bit State
Function
Relevant Commands
S42 Default: 24 Profile: Yes
0 1
*
0 1
* V.32bis at 9,600 bps; trellis coding. * V.32bis at 9,600 bps; no trellis coding. Reserved. Reserved.
&U0 &U1
Bits 3 and 2 are only valid when in data modem mode. Bits 5 and 4 are only valid in facsimile DCE mode. S49 Default: 0 Profile: Yes (Bits 7 and 6 cannot be written to a profile.)
0, 0 3, 2 0, 1 * 1, 0 1, 1 0, 0 5, 4 * 0, 1 1, 0 1, 1 0 * 0 1 * 0, 0, 0 0, 0, 1 2, 1, 0 0, 1, 0 0, 1, 1 1, 0, 0 1, 0, 1 1, 1, 0 1, 1, 1 3 4 5 * 0, 0 0, 1 1, 0 1, 1
* No flow control between the DTE and the modem. * Flow control based on XON/XOFF codes.
\Q0
\Q1 * Flow control based on the CTS(CS) signal of the modem. \Q2 * Flow control based on the CTS(CS)/RTS(RS) signals. \Q3 Reserved. * Flow control based on XON/XOFF codes. * Flow control based on the CTS(CS)/RTS(RS) signals. Reserved. Reserved (bit state is "0"). * Terminal speed during communication is the same as during commands. * Terminal speed during communication matches the carrier speed. * Data modem using asynchronous AT commands. * Facsimile DCE using Class 1 fax commands. Reserved. Reserved. Reserved. Reserved. Reserved. Reserved. Reserved (bit state is "0"). Reserved (bit state is "0"). Reserved (bit state is "0"). * FAX/DATA automatic switching disabled. * FAX/DATA automatic switching enabled. Reserved. Reserved. +FAA=0 +FAA=1 \J0 \J1 +FCLASS=0 +FCLASS=1 +FLO=0 +FLO=1
6 7
7, 6
C-11
FEDL2121A-02 Semiconductor MSC2121A
C-12
FEDL2121A-02 Semiconductor MSC2121A
Appendix D Command Mode and Data Mode OVERVIEW
The modem has two general states: command mode and data mode. Since the command mode performs asynchronous communication with the terminal, it is more accurately called the asynchronous command mode. The data mode refers to the state in which the modem connects the line to the remote equipment and in which data can be transmitted/ received.
ASYNCHRONOUS MODE
Power ON
* Originate Mode The modem dials by the ATD (ds) command. If there is a response from the remote equipment and the modem connects successfully, the CONNECT result code is returned indicating that the modem has switched to the data mode. * Answer Mode To set the auto answer mode, enter a command such as ATS0=2. With this command, the modem will auto answer if 2 rings are received. To set the manual answer mode, enter the ATS0=0 command. After verifying the ring, enter the ATA command to answer the call. If the modem connects with the remote equipment, a CONNECT result code is returned indicating that the modem has switched to the data mode. * Switch From Data Mode to Command Mode If DTR ONAEOFF is detected by & D1 mode, the OK result is returned indicating that the modem has returned to the command mode. At this point, commands can be used freely with the modem still connected to the line. * Switch From Command Mode to Data Mode By inputting the ATO command, the CONNECT result code is returned indicating that the modem has switched to the data mode again. * Drop the Line Connection (ATH0 command) Normally, the ATH0 command is input in the state where the modem has switched to the command mode. The line is turned OFF and the OK result code is returned. At this point, the remote side detects the carrier loss, turns the line OFF and returns the NO CARRIER result code. At this point, some garbage characters may accompany the signal and change to a result code. If both sides input the ATY1 command to each other beforehand, the line disconnect operates by sending a break signal. The remote side can thus drop the line normally with an OK result code. * Drop the Line Connection (DTR) If the AT&D2 command is set, the line is disconnected if the DTR makes a transition from ON to OFF, and the modem returns to the command mode. * DTR Function By entering the AT&D command, the modem performs the functions shown in the figure at left.
RI ON/OFF
RING
Modem initialization ATZ
RING detection
ATS0= ATA
DTR is ignored Asynchronous command mode
ATD ATH1 ATH0
S0 S1
AT0
Line ON
Line ON
Line ON
ATX
Call progress tone detection
Line ON
Line OFF
Dialing
Key abort
NO DIALTONE NO ANSWER
BUSY
Key abort Key abort
Handshake carrier detection
NO CARRIER
S7 timer exceeded
Carrier loss AT & D2 DTR ON AE OFF Escape sequence +++ AT & D1 DTR ON AE OFF
CONNECT
Asynchronous data mode
AT & D3 DTR ON AE OFF
D-1
FEDL2121A-02 Semiconductor MSC2121A
SYNCHRONOUS MODE
This modem can utilize the synchronous mode in addition to the asynchronous mode. There are three types of synchronous modes which are called synchronous mode 1, synchronous mode 2 and synchronous mode 3. The synchronous mode is basically controlled by changes in the DTR state of the DTE. However, only synchronous mode 1 uses the asynchronous command mode up until the line is connected. After the line is connected, the modem switches to the synchronous mode. This mode is therefore called the synchronous/asynchronous mode. In synchronous modes 2 and 3, the command mode functions are enabled if the line is not connected when DTR is in the OFF state. Note: If synchronous mode 2 or 3 is already set, take care that the power ON sequence is correct and that the connection cable is not unplugged. When the modem power is turned ON, this mode is entered and changes in the DTR are detected. If, at this time, the DTR transitions from OFF to ON, originate operation begins. Generally, the modem is powered ON after the DTE is set up. DTEs such as asynchronous type data terminals, personal computers, etc., can use the three synchronous modes. However, they must have a synchronous communication function for after the line is connected. Synchronous modes 2 and 3 can use synchronous type DTEs. RS-232C related commands which do not function in the synchronous mode are AT&C, AT&D and AT&S. The AT&R command functions only in synchronous mode. The time set in S25 is in units of seconds if the DTR state is detected immediately after the line is connected in synchronous mode 1. Otherwise, S25 is used as the delay time for detecting the change in DTR from ON to OFF, and the unit is 1/100 second. The time set in S26 is the delay time from RTS ON until CTS ON. S26 functions if AT&R0 is set. The result of the line connection in synchronous mode depends on changes in the DSR, DCD and CTS signals. Synchronous mode communication is possible when all three of these signals are in the ON state. Further, the AT&X command is set beforehand to select which signal is used for each transmission clock. The setup of each mode is set by the AT&M command. Overview of Synchronous Mode 1 (SYNC/ASYNC mode) Connections are made in the same manner as the asynchronous mode, for both originate and answer modes. A result code is also returned when making a connection (CONNECT xxxx, NO CARRIER, RING). The conditions for dropping the line are if DTR changes from ON to OFF, or if the carrier is not detected for longer than S10. Overview of Synchronous Mode 2 When the DTR changes from OFF to ON, the modem dials the telephone number in nonvolatile memory. Answering is similar to the asynchronous mode, but is also related to DTR. Namely, if DTR is left in the ON state, the modem auto answers if S0 is not 0 and the ring count S0 = S1. The result codes and key abort do not function. (For convenience, the DTE is assumed to be an asynchronous type if the AT00V1 state is set; the result codes will then function.) The conditions for dropping the line are the same as for synchronous mode 1. D-2
FEDL2121A-02 Semiconductor Overview of Synchronous Mode 3 Dialing is performed by an auxiliary telephone instrument and the connection is made when DTR changes from OFF to ON. Other aspects are the same as for synchronous mode 2. MSC2121A
D-3
FEDL2121A-02 Semiconductor MSC2121A
SYNCHRONOUS MODE 1
Power ON
* Setup Synchronous mode 1 is set by the AT&M1 command, and appropriate settings are made with the ATX and ATQ commands according to the intended purpose. With ATQ1, result codes are returned but communication is completely in asynchronous mode. Set the S25 register to a value suitable for the following purposes (factory setting is 5 seconds). If switching from the asynchronous mode to the synchronous mode is performed on the application side, the DTR may momentarily turn OFF. However, in order not to recognize this change as signal to drop the line, the DTR state is inspected S25 seconds after the connection is completed. The DTR is ignored in the asynchronous command mode state. However, since the ON/OFF changes of the DTR affect the connection, the DTR is generally set to the ON state ahead of time when making a connection. * Originate Mode The number is dialed by the ATD or ATDS command. The modem switches to the synchronous mode upon completing the connection to the remote modem. However, the DTR state is inspected after the time set in S25 has elapsed. If the state is OFF, the line is dropped and the modem returns to the asynchronous command mode. * Answer Mode If in the ATS0= command is not 0, and the modem receives rings, the modem will auto answer the call. The modem switches to the synchronous data mode when the connection with the remote modem is completed (there is no S25 function). * Drop the Line If the carrier is not detected for the time set in S10 (factory setting: 1.4 seconds), or if the modem detects a DTR change from ON to OFF, the modem drops the line and returns to the asynchronous command mode. If S10 = 255, the line is not dropped due to a carrier loss. At this point, the carrier state can be monitored by the CD LED. Further, a change in the DTR from ON to OFF is not recognized for the time set in S25 (factory setting: 100 seconds). * Drop the Connection State [TN: "Drop" should probably be "Observe"] If the modem is in the ATX4, ATQ0 or ATV1 state, result codes such as RING, BUSY, NO DIALTONE, CONNECT 1200, CONNECT 2400 and NO CARRIER are returned in the asynchronous mode. DSR turns ON upon receiving an answer tone from the remote modem.DCD turns ON when the data carrier is detected. The CD LED also turns ON. The CTS turns ON if the RTS of the DTE is ON. The operation of RTS and CTS is related to the AT&R command. If n = 0, the CTS turns ON with a delay of time as set in S26 (factory setting: 100 seconds) after RTS turns ON. If n = 1, the CTS is always ON during synchronous data mode, regardless of RTS. DSR, DCD and CTS are all ON in states where synchronous communication is possible.
RI ON/OFF
RING RING ATS0=
Modem initialization ATZ
DTR is ignored Asynchronous command mode
ATD
detection
S0 S1
Line ON
Line ON
ATX
Call progress tone detection
Line OFF
Key abort Dialing
NO DIALTONE NO ANSWER
BUSY
Key abort
Handshake carrier detection
Key abort S7 timer exceeded
CONNECT
NO CARRIER
Answer mode
Enters Originate mode DTR OFF DTR state after S20 seconds
DSR, DCD, CTS ON
DTR ON
Synchronous data mode
Carrier loss DTR ON AE OFF
D-4
FEDL2121A-02 Semiconductor MSC2121A
SYNCHRONOUS MODE 2
Power ON
* Setup Synchronous mode 2 is set by the AT&M2 command. The telephone number of the remote modem is written to nonvolatile memory by the AT&Z command. If this mode is always used, store the current settings in nonvolatile memory by the AT<...Q1E0>&W command ("..." is the required command string). By storing the current settings, the S registers are automatically set to the values stored in nonvolatile memory the next time power is turned ON, thus setting this mode. To change the settings or test using new ones, set the DTR to the OFF state and use the asynchronous command mode to make the changes. With ATQ0E1, the result codes are returned and the commands are echoed back. Further, if setting the modem as mentioned above, the result code notations in the figure to the left will differ from the normal codes. * Originate Mode This mode dials the stored telephone number when the DTR changes from OFF to ON. At this point, the line noise can be heard on the monitor speaker if the ATL2M1 command is set. If the line does not connect normally, the line is turned OFF and the modem returns to the asynchronous state. * Answer Mode The modem is set to the auto answer mode by the ATS0= command. When DTR is ON, the modem starts auto answer when the ring count reaches n (S0 = S1). If S0 > S1, DTR turns OFF and the modem stops auto answering 8 seconds after the last ring. Conversely, if a ring is received even if DTR is turned OFF, the modem auto answers if DTR is turned ON again within 8 seconds. After this interval is exceeded, turning DTR ON starts the originate mode. * Drop the Line Same as for synchronous mode 1. * Observe the Connection State Same as for synchronous mode 1.
RI ON/OFF
RING ATS0= DTR ON
Modem initialization ATZ
RING detection DTR ONAEOFF
S0 S1
Asynchronous command mode
Command enabled by DTR OFF
DTR OFFAEON Line ON
ATX
Call progress tone detection
Line ON
Line OFF
Dialing
NO DIALTONE NO ANSWER
BUSY
Handshake carrier detection
NO CARRIER
S7 timer exceeded
CONNECT DSR, DCD, CTS ON
Synchronous data mode
Carrier loss ONAEOFF
D-5
FEDL2121A-02 Semiconductor MSC2121A
SYNCHRONOUS MODE 3
Power ON
* Setup Synchronous mode 3 is set by the AT&M3 command. If this mode is always used, store the current settings in nonvolatile memory by the AT<...Q1E0>&W command ("..." is the required command string). By storing the current settings, the S registers are automatically set to the values stored in nonvolatile memory the next time power is turned ON, thus setting this mode. To change the settings or test using new ones, set the DTR to the OFF state and use the asynchronous command mode to make the changes. With ATQ0E1, the result codes are returned and the commands are echoed back. Further, if setting the modem as mentioned above, the result code notations in the figure to the left will differ from the normal codes. * Originate Mode The DTR is turned OFF beforehand. Dial the remote modem using an auxiliary telephone instrument. The connection will start when the DTR changes from OFF to ON. At this point, the line noise can be heard on the monitor speaker if the ATL2M1 command is set. If the line does not connect normally, the line is turned OFF and the modem returns to the asynchronous state. * Answer Mode Same as for synchronous mode 1. * Drop the Line Same as for synchronous mode 1. * Observe the Connection State Same as for synchronous mode 1.
RI ON/OFF
RING ATS0= DTR ON
Modem initialization ATZ
RING detection DTR ONAEOFF
S0 S1
Asynchronous command mode
Command enabled by DTR OFF
Dialing by telephone instrument DTR OFFAEON Line ON
ATX
Call progress tone detection
Line ON
Line OFF
Dialing
NO DIALTONE NO ANSWER
BUSY
Handshake carrier detection
NO CARRIER
S7 timer exceeded
CONNECT DSR, DCD, CTS ON
Synchronous data mode
Carrier loss ONAEOFF
D-6
FEDL2121A-02 Semiconductor MSC2121A
DEDICATED LINE MODE
In addition to data communication using general telephone lines, this modem has the following data communication functions for dual-line dedicated lines. By selecting the dedicated line mode with the AT&L1 command, the modem has the same functions as the general telephone line mode except that the operation for originating and answering calls is different. However, since there is no automatic speed response (fallback) function when answering, set both modems to the same speed before making connection. Asynchronous Mode and Synchronous Mode 1 Select the dedicated line mode by the AT&L1 command. The connection is made by the originating side inputting the ATD command and the answering side inputting the ATA command at about the same time. Synchronous Modes 2, 3 Select the dedicated line mode by the AT&L1 command. The originating side sets the S0 register to 0. The answering side sets the S0 to a value other than 0. Connection is made by setting DTR from OFF to ON at about the same time.
D-7
FEDL2121A-02 Semiconductor MSC2121A
D-8
FEDL2121A-02 Semiconductor MSC2121A
Appendix E Loopback Tests and Self Diagnostic OVERVIEW
As stated previously in the section on command explanations, there are five types of test functions which can be performed. Further, by using a test timer, testing can be performed for arbitrarily times. The purpose of the tests is to check whether transmitted data is looping back normally. The results can be used as a diagnostic tool. Test Preparation First check that the terminal and modem and the telephone lines are connected properly, finish setting up the equipment, and then turn the power on. If using a personal computer as a terminal, perform the required preparation (communication speed, formatting, etc.). First, input the ATZ command. "ATZ" should echo back on the terminal screen, and the result code "OK" should be displayed. The terminal and modem are now in a normal state. If they are not in this state, check the connections and settings again. When any of the test modes are executing, the MR-LED display flickers in approximately 1 second intervals. Local Analog Loopback Test (&T1) This test can test the line from the terminal to the internal modem.
TXD RXD
Modulator Demodulator
Reference Example (1): If a test timer is not used. Terminal ATS18 = 0&T1 OKI ELECTRIC COMPANY +++ OK AT&T0 OK Begin test. Input freely and it will be echoed back, as is. Escape sequence. Returns to command mode. Input test end command. Test ends.
Modem Terminal Modem
Reference Example (2): If a test timer is used. Terminal ATS18 = 50&T1 OKI ELECTRIC COMPANY OK Set the test timer to 50 seconds and begin the test. Input freely and it will be echoed back, as is. (In this interval, 50 seconds elapse.) Test ends. E-1
Modem
FEDL2121A-02 Semiconductor Local Analog Loopback Self-Test (&T8) This test is not input from the terminal. A 1:1, 0/1 alternating pattern is automatically input to the TXD inside the modem, and the errors are counted by the receiver unit. If an error is generated, it is counted. (If a command is input during the test, the test is temporarily interrupted until processing is completed.) MSC2121A
TXD RXD
Modulator Demodulator
Reference Example (1): If a test timer is not used and no errors occur. Terminal ATS18 = 0&T8 AT&T0 000 OK Begin test. (During this time, pause only for an appropriate interval.) Test ends. There were 0 errors.
Modem
Reference Example (2): If a test timer is not used and 7 errors occur. Terminal ATS18 = 0&T8 AT&T0 007 OK Begin test. (During this time, pause only for an appropriate interval.) Test ends. There were 7 errors.
Modem
Reference Example (3): If a test timer is used and no errors occur. Terminal Modem ATS18 = 10&T8 000 OK Set the test timer to 10 seconds and begin the test. (In this interval, 10 seconds elapse.) There were 0 errors.
Reference Example (4): If a test timer is used and 7 errors occur. Terminal Modem ATS18 = 10&T8 007 OK Set the test timer to 10 seconds and begin the test. (In this interval, 10 seconds elapse.) There were 7 errors.
E-2
FEDL2121A-02 Semiconductor Remote Digital Loopback Test (&T6) If the remote modem is the same type as the main unit, a remote digital loopback test can be performed with the local modem. (This function is not available at 300 bps.) MSC2121A
Local TXD RXD
Demodulator Modulator
Telephone Line
Modulator Demodulator
Remote RXD TXD
As preparation for this test, match up the communication modes for both the local and remote modems. (The communication speed should either be 1200 or 2400 bps.) Input AT&T4 at the remote side, so that there will be a response to the remote digital loopback test request. (The AT&T5 command, conversely, is the setting for no response to the request.) This test is performed in the connected state (on-line), so the usual method is to connect the line. After the test, the modem can return to the on-line data mode by the AT0 command. The explanations in the following reference examples start from after the modem goes on-line. Reference Example (1): If a test timer is not used. Terminal +++ OK ATS18 = 0&T6 OKI ELECTRIC COMPANY +++ OK AT&T0 OK Escape sequence. Changes to command mode. Begin test. Enter arbitrary characters freely and those characters will be echoed back, as is. Escape sequence. Changes to command mode. Input test end command. Test ends.
Modem Terminal Modem
Reference Example (2): If a test timer is used Terminal +++ OK ATS18 = 30&T6 OKI ELECTRIC COMPANY OK Escape sequence. Changes to command mode. Set test timer to 30 seconds and begin test. Enter arbitrary characters freely and those characters will be echoed back, as is. (In this interval, 30 seconds elapse.) Test ends.
Modem
E-3
FEDL2121A-02 Semiconductor Remote Digital Loopback Self-Test (&T7) This test differs from the remote digital loopback test only on the point that the modem internal data is used, the same as for the local analog loopback self test, instead of using the terminal input data. Perform test preparation in the same manner. (If a command is input during the test, the test is temporarily interrupted until processing is completed.) MSC2121A
Local TXD RXD
Demodulator Modulator
Telephone Line
Modulator Demodulator
Remote RXD TXD
Reference Example (1): If a test timer is not used and no errors occur. Terminal Modem Terminal +++ OK ATS18 = 0&T7 AT&T0 000 OK Escape sequence. Changes to command mode. Set test timer to 0 and begin test. (Pause for an appropriate interval.) Input test end command. No errors. Test ends.
Modem
Reference Example (2): If a test timer is not used and 7 errors occur. Terminal Modem Terminal +++ OK ATS18 = 0&T7 AT&T0 007 OK Escape sequence. Changes to command mode. Set test timer to 0 and begin test. (Pause for an appropriate interval.) Input test end command. 7 errors occur. Test ends.
Modem
Reference Example (3): If a test timer is used and no errors occur. Terminal Modem Terminal Modem +++ OK ATS18 = 30&T7 000 OK Escape sequence. Changes to command mode. Set test timer to 30 seconds and begin test. (In this interval, 30 seconds elapse.) No errors. Test ends.
E-4
FEDL2121A-02 Semiconductor Reference Example (4): If a test timer is not used and 7 errors occur. Terminal Modem Terminal Modem +++ OK ATS18 = 30&T7 007 OK Escape sequence. Changes to command mode. Set test timer to 30 seconds and begin test. (In this interval, 30 seconds elapse.) 7 errors occur. Test ends. MSC2121A
The Remote Digital Loopback Test and The Remote Side State During Self-Testing For both test modes, input the AT&T4 command on the remote side beforehand, as it must be set to respond to the request. It can be known via the S-register (16) bit 3 if this test is being performed on the remote side. Reference Example (Remote Side) Terminal Modem Terminal Modem +++ OK ATS167 008 OK Reference example of the AT&T5 command input on the remote side, with testing on the local side. Terminal Modem Terminal Modem +++ OK AT&T6 NO CARRIER OK Escape sequence. Changes to command mode. Remote digital loopback test begins. (The time set in S7 elapses.) Connection failure. Escape sequence. Changes to command mode. Since bit 3 of S16 is ON, the modem knows that testing is taking place on the local side.
If, for causes outside of this test, a loop is not configured, a result code (NO CARRIER) is returned to the modem.
E-5
FEDL2121A-02 Semiconductor Local Digital Loopback Test (&T3) In this test, data transmitted from the remote modem is digitally looped back in the local modem, and returned to the remote modem. Perform the same preparation for this test as for the remote digital loopback test. MSC2121A
Local RXD TXD
Demodulator Modulator
Telephone Line
Modulator Demodulator
Remote TXD RXD
Reference Example:
(In this case, the test type can also be used. However, it is not practical, since input for the test is done at the remote side. The general method is not to use a test timer, but to perform the test by making telephone contact.)
Terminal Modem Terminal Modem
Terminal Modem
Escape sequence. Changes to command mode. Set test timer to 0 and begin test. Enters loopback. (In this interval, the characters entered at the remote terminal are echoed back to the local display.) AT&T0 Input test end command. OK Test ends. (If AT0 is input, the modem returns to the on-line data mode.)
+++ OK ATS18 = 0&T8 OK
&T4 and &T5 Commands The &T4 command sets the response to the request from the remote modem for a remote digital loopback test. The &T5 command sets the opposite.
E-6
FEDL2121A-02 Semiconductor MSC2121A
Appendix F Application Circuit Diagrams CIRCUIT DIAGRAMS
Application Circuit Diagram 1 This application circuit diagram is for an MSC2121A modem chip set. The IC pin numbers vary according to the IC package used. Please refer to the individual IC data sheets. Application Circuit Diagram 2 This application circuit diagram is for an MSC2121A modem chip set evaluation board. * The evaluation board has onboard EPROM for the microcomputer program, but this is not needed in the actual chip set since it is built into the microcomputer. * The evaluation board is for evaluating the modem chip set. * Do not use on actual lines. (JATE approval in Japan not obtained.) * These circuit diagrams are evaluation board circuit diagrams. Performance other than the function checks and performance evaluation of the modem chip set is not guaranteed.
F-1
Semiconductor
MSM7564-01 MSM66507
AOUTP P3.4 SD RD RTS CTS DTR DSR CD CI RT ST2 ST1 2 1 0 31.104 MHz OSC1 P0 P6.6 P6.7 P3.5 P2.6 P2.3 P2.4 P2.5 P2.2 OSC0 P1 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 51 kW P4.0 A8 to 15 7 6 5 4 3 2 1 0 7 7 5 4 3 2 1 0 CE VDD GND 7 6 5 D4 3 2 1 0 OE WE 7 6 5 4 3 2 1 0 1 0 7 6 5 4 3 2 1 0 CE1 CE0 7 6 5 4 ADA 3 2 1 0 7 6 5 4 AOD 3 2 1 0 1 0 RD WR 1 0 ALE MCK RD WR AOUTN AINP AINN SG 10 mH VDDA 1 mF GNDA 10 mH VDDP 7 6 5 4 3 2 1 0 1 mF GNDP BTD CKOEN CPUTYPE SLEEP TI9 5 4 VDD 3 2 1 1 mF 1 mF +5 VA AOUTP AOUTP AINP AINN SG
RLY1 RLY2 RII SPK AA EC HS MR SW9 SW8 SW7 SW6 SW5 SW4 SW3 SW2 SW1
P2.0 P2.1 P3.1 P3.2 7 6 5 4 P7.5 P7.4 P7.2 P4.3 P4.2 P4.1 P3.3 P3.0 P2.7 VREF EA VDD VDD VDD GND GND AGND NMI RESET P6 P4
14 13 12 11 10 9 8 7A 6 5 4 3 2 1 0
MSC2121A Application Circuit Diagram 1 F-2
32 KByte RAM
P7.1 P7.0 ALE P7.3 OE AI0 to 9 1 3 2 0 4 5
10 pF STSCHG 6 5 TxD 4 RxD RBTM 3 2 RT 1 ST2
6 5 4 3 2 1 0
P3.6 P3.7 P7.7 P7.6 P5 2 1 0 GND VCC DI DO R/B CLK ORG CS AT59C22 2 KBit E2PROM 1 0
5 4 3 GND 2 STSCHG 1 STD 8 SRD 7 RBTM 6 RT 5 TI ST2 4 ST1 3 2 XYCK 1 SYCR 0 SOM TO3 RESET
FEDL2121A-02
MSC2121A
RESET
Semiconductor
SVD 5VA GNDA GNDD SD RD RTS CTS DTR DSR CD CI 40 39 38 37 36 35 34 33
17 to 20 11, 12 C1 + C2 + 16 V 16 V 7 to 10 22 mF 22 mF 13 to 16 49, 50 5 VA
MSM7564-01 MSM66507
57 120 121 58 44 40 41 43 38 P3.4 P6.6 P6.7 P3.5 P2.6 P2.3 P2.4 P2.5 P2.2 OSC0 7 6 5 4 P1 3 2 1 0 7 6 5 4 P0 3 2 1 0 30 29 28 26 25 23 21 20 13 11 9 8 7 6 5 4 P4.0 63 CN1 (2/4) 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 67 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSEN 7 6 5 4 3 2 1 0 A 7 6 5 4 3 2 1 0 31 3 28 4 25 23 26 27 5 6 7 8 9 10 11 12 22 CE1 32 VCC 15 30 14 CE2 13 2 A16 12 16 GND 11 10 21 U3 7 9 20 6 8 19 5 7A 18 4 6 D 17 3 5 15 2 4 14 1 3 13 0 2 24 OE 1 29 WE 0 25 30 CE1 CE0 AOUTP 7 AOUTN 4 AINP 3 AINN 1 SG 143 VDDP 7 6 5 4 3 2 1 0 1 0 R2 51k 1 136 P7 0 134 ALE 130 138 P7.3 3 2 1 P6 0 4 5 P3.6 P3.7 115 114 112 111 117 118 60 61 R3 51k 1 0 3.888 MHz TxD RxD STSCHG RBTM RT ST2 6 5 4 3 2 1 7 6 5 4 3 2 1 0 CN1 (3/4) 75 74 73 72 71 70 69 68 7 6 5 4D 3 2 1 0 C11 6 5 4 3 2 1 0 35 13 61 62 36 68 57 17 SLEEP SD RD STSCHG RBTM RT ST2 ST1 83 85 88 92 94 96 99 102 U2 7 6 5 4 3 AOA 2 1 0 GNDP VDDA GNDA BTD CKOEN CPUTYPE TI9 5 4 VDD 3 2 1 5 4 GND 3 2 1 8 7 6 TI 5 133 C8 138 8 C9 139 21 32 46 131 126 101 77 54 15 C10 132 90 47 26 9 108 124 123 42 5 VA 1 2 3 4 5 AOUTP AOUTN AINP AINN AG XYCK 59 SYCR 55 SOM 52 XYCK SYCR SOM CN1 (4/4)
7 6 5 4 3 2 1 0
C7
C3 ST1 ST2 RT 32 31 30 0 1 2 28 27 26 25 24 23 22 21 43 44 45 46 47 79 78 77 76 10 pF C4 X1
127
129 OSC1 10 pF 31.104 MHz 33 35 48 P2.0 P2.1
RLY1 RLY2 RII SPK AA EC HS MR SW 6 SW 5 SW 9 SW 8 SW 7
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0 1 0
7 6 5 4 3 2 1 0
107 74 103 75 76 79 106 81
7 6 5 4 3 ADA 2 1 0
Application Circuit Diagram 2 (1/3) F-3
P3.1 50 P3.2 76 74 71 U1 7 6 P4
PSEN
132
MSM51257
23 RD 19 WR 50 ALE 134 MCK
5 69 4 67 66 141 3 2 5
140 4 137 2 64 51
P7
SW4 SW3 SW2 SW1
P4.1 P3.3
47 P3.0 45 P2.7 110 16 88 91 C5 81 54 124 108 VREF VDD VDD VDD NMI GND GND AGND
P7.7 2 P7.6 143 80 2 78 P5 1 0 77
1 0 3 2 1
C6 5 8 GND VCC 4 DI 4 DO 7 R/B CLK 6 CS ORG AT59C22 H JP1
11 2 127 1 TI 129 0 67 TO3
RESET 28
39 4 40 3
1 0
51k AI0 to 9 93,95,96,98,99,101 102,104 to 106 R1 OE 31 EA RESET 83 84
FEDL2121A-02
MSC2121A
L
RESET
6 CN1 (1/4)
FEDL2121A-02 Semiconductor MSC2121A
CN2 CN1
SD 2 1 7 3 2 C9 2 1 6 5 C11 4 8 5 37 CTS 2 39 40 SD 5VD 5VA GND A GND D 17 to 20 11, 12 7 to 10 13 to 16, 49, 59
+5 VA
MSM27C101ZB
RD 3 3 C10 4 4 8 RD 15 14 13 12 11 10 9 A8 7 6 5 4 3 2 1 0 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 3 29 28 4 25 23 26 27 5 6 7 8 9 10 11 12 15 VCC 14 VPP 13 PGM 12 U/2 11 A16 10 CE 9 GND 8A 7 7 6 6 5 5 4 4 3 D 3 2 2 1 1 0 0 OE 24 32 1 31 2 22 16 21 20 19 18 17 15 14 13
RTS
7
38
RTS
CTS
5
6 C12
DTR
20
10
7
8 9 C13 9 8 10 12 8 13 0
36
DTR
DSR
6
8 C14
35
DSR
7 6 5 4 3 2 1 0
CD
8
11 C15
34
CD
PSEN
67
CI
22
3 C16
9
2
33
C1
ST1
24
13
7
11 12 C17 4 9 5 9 9 10
32
ST1
D
ST2
15
6 C18
31
ST2
7 6 5 4 3 2 1 0
75 74 73 72 71 70 69 68
7 6 5 4 3 2 1 0 AOUTP AOUTN AG AINP AINN RII RLY1 RLY2 SPK 3 5 13 11 9 4 6 12 10 8 LED1 LED2 AA LED3 EC LED4 HS LED5 OH LED6 2 SD 3 1 1 0 RA2 6 6 4 2 LED7 RD LED8 CD RA1 MR
RT
17
8 C19
30
RT
AOUTP 1 AOUTN 2 AG 5 AINP 3 AINN 4
43
SW6 RI 26 RLY1 28 RLY2 27 SPKR 25
44
SW5
45
SW9
MR AA
21 24 23 22
5 5 5 5 5
46
SW8 EC
47
SW7
HS
SG
7
4 3 2 1 SW2 RA3
79 78 77 76
SW4 SW3 SW2 SW1 RESET 6
R26 51k
D4 1S1588 R25 C4 SW1 RESET
HC14 5 6 6
HC14 9 8 6
+ 16 V 2.2 m
Application Circuit Diagram 2 (2/3) F-4
Semiconductor
C20
1000P
C37 430P C22 430P LMC662CN 5+ 7 2 6- R8 10k C24 R7 C25 R9 22k 100P 2- 3+ 2 1 R11 100 C26 0.033m R12 442 2 3 R14 300 8.2k R15 1000P C27 27k R13 51k R43 20k R29 TLP521 4 3 R30 1k ZD3 RD13E C30 R22 47k PC1 (1/2) TLP521 0.1m 50k + C34 3.3m 25 V +12 V C36 + 10m 6 R23 1k + 10m C5 100m + C37 C6 TLP521 SPK PC1 (2/2) R31 10k 1000P R32 C35 20 S1WBA 40 + Q3 2SC 1214 ~ D6 - ~ Q4 2SC1214 R33 20 S1WBA 40 + ~ 4 3 D2 R10 22k D1 6 T1 1 50V 10m BP C32 C33 VR1 250V 0.1m B H R27 7.5k D5 - ~ ZD1 RD13E (B2) R28 100 1 PC2 2 (1/2) CN3 6 14 8, 9 11 1 7 + C1 25 V 100m + C2 25 V 100m 3 J1 2 LINE C k1 J2 2 TEL 3
R3 R1 AOUTP AOUTN 51k R2 51k 6- 5+ R4 27k 27k 1 7 R5 51k LMC662CN C23 R6 51k
AG C21 0.1m + C8 16 V 10m
3+ 1 2 -
1 C28 27k 1 C29 R18 22k 7 - 3 + 6 5 R17 22k - 3 + 330P R16
100P
671-8264
Application Circuit Diagram 2 (3/3) F-5
AINP
LMC662CN
AINN
R21 47k RII R19 10k R20 + 100 C7 16 V 2.2m HCO4 1 2 5 4 PC2 (2/2)
ZD2 RD13E
TLP521
RLY1
3+ 1 5 4 RV1 2 -8 4 0.033m
+12 V
+12 V
10 R24 Q2 ABIL3N 2 K1 9 Q1 ABILBN 14 5 to 7 10 7 SPK D3 1S1588 +5 VA 8
5 1, 2
-12 V +5 V
FEDL2121A-02
RLY2
CX4 to 6 1 to 3 4
CX1 to 3 GND
C3 + 25 V 100m
MSC2121A
3, 4
GND
1Semiconductor
MSC2121A
REVISION HISTORY
Document No.
FEDL2121A-02
Date
Oct. 1999
Page Previous Current Edition Edition
- 1 - 1 - Second edition Added "Note"
Description
FEDL2121A-03
July 12, 2002 - Added "Revision History"
1Semiconductor
MSC2121A
NOTICE 1. The information contained herein can change without notice owing to product and/or technical improvements. Before using the product, please make sure that the information being referred to is up-to-date. 2. The outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. When planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. Neither indemnity against nor license of a third party's industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party's right which may result from the use thereof. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. Such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. Certain products in this document may need government approval before they can be exported to particular countries. The purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. No part of the contents contained herein may be reprinted or reproduced without our prior permission. Copyright 2002 Oki Electric Industry Co., Ltd.
3.
4.
5.
6.
7.
8.


▲Up To Search▲   

 
Price & Availability of MSC2121A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X